Actual length of data that was transferred. Read-only, and only for * use within transfer callback function. Not valid for isochronous * endpoint transfers.
Data buffer
Callback function. This will be invoked when the transfer completes, * fails, or is cancelled.
Handle of the device that this transfer will be submitted to
Address of the endpoint where this transfer will be sent.
A bitwise OR combination of \ref libusb_transfer_flags.
Isochronous packet descriptors, for isochronous transfers only.
Length of the data buffer
Number of isochronous packets. Only used for I/O with isochronous * endpoints.
The status of the transfer. Read-only, and only for use within * transfer callback function. * * If this is an isochronous transfer, this field may read COMPLETED even * if there were errors in the frames. Use the * \ref libusb_iso_packet_descriptor::status "status" field in each packet * to determine if errors occurred.
Timeout for this transfer in millseconds. A value of 0 indicates no * timeout.
Type of the endpoint from \ref libusb_transfer_type
User context data to pass to the callback function.
The generic USB transfer structure. The user populates this structure and then submits it in order to request a transfer. After the transfer has completed, the library populates the transfer with the results and passes it back to the user.