Helper class for maintaining a user defined number of outstanding aync transfers on an endpoint.
|C#||Visual Basic||Visual C++|
public class UsbTransferQueue
Public Class UsbTransferQueue
public ref class UsbTransferQueue
|UsbTransferQueue(UsbEndpointBase, Int32, Int32, Int32, Int32)||
Creates a new transfer queue instance.
Gets a two dimensional array of data buffers. The first index represents the transfer the second represents the data buffer.
Size (in bytes) of each data buffer in this transfer queue.
Endpoint for I/O operations.
Cancels and frees all oustanding transfers.
For isochronous use only. The iso packet size.
Gets the transfer data buffer at the specified index.
Maximum outstanding I/O operations before waiting for a completion. This is also the number of data buffers allocated for this transfer queue.
Time (in milliseconds) to wait for a transfer to complete before returning IoTimedOut.
Submits transfers until MaxOutstandingIO is reached then waits for the oldest transfer to complete.