LibUsbDotNet 2.2.8
UsbTransferQueue Constructor (endpointBase, maxOutstandingIO, bufferSize, timeout, isoPacketSize)
Library Reference ► LibUsbDotNet.Main ► UsbTransferQueue ► UsbTransferQueue(UsbEndpointBase, Int32, Int32, Int32, Int32)
|
Creates a new transfer queue instance.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public UsbTransferQueue( UsbEndpointBase endpointBase, int maxOutstandingIO, int bufferSize, int timeout, int isoPacketSize )
Public Sub New ( _ endpointBase As UsbEndpointBase, _ maxOutstandingIO As Integer, _ bufferSize As Integer, _ timeout As Integer, _ isoPacketSize As Integer _ )
public: UsbTransferQueue( UsbEndpointBase^ endpointBase, int maxOutstandingIO, int bufferSize, int timeout, int isoPacketSize )
Parameters
- endpointBase (UsbEndpointBase)
- The endpoint to transfer data to/from.
- maxOutstandingIO (Int32)
- The number of transfers to Submit()()()() before waiting for a completion.
- bufferSize (Int32)
- The size of each data buffer.
- timeout (Int32)
- The maximum time to wait for each transfer.
- isoPacketSize (Int32)
- For isochronous use only. The iso packet size. If 0, the endpoints max packet size is used.