Helper function to populate the required MonoUsbTransfer properties for an isochronous transfer.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void FillIsochronous( MonoUsbDeviceHandle devHandle, byte endpoint, IntPtr buffer, int length, int numIsoPackets, Delegate callback, IntPtr userData, int timeout )
Public Sub FillIsochronous ( _ devHandle As MonoUsbDeviceHandle, _ endpoint As Byte, _ buffer As IntPtr, _ length As Integer, _ numIsoPackets As Integer, _ callback As Delegate, _ userData As IntPtr, _ timeout As Integer _ )
public: void FillIsochronous( MonoUsbDeviceHandle^ devHandle, unsigned char endpoint, IntPtr buffer, int length, int numIsoPackets, Delegate^ callback, IntPtr userData, int timeout )
Parameters
- devHandle (MonoUsbDeviceHandle)
- handle of the device that will handle the transfer
- endpoint (Byte)
- address of the endpoint where this transfer will be sent
- buffer (IntPtr)
- data buffer
- length (Int32)
- length of data buffer
- numIsoPackets (Int32)
- the number of isochronous packets
- callback (Delegate)
- callback function to be invoked on transfer completion
- userData (IntPtr)
- user data to pass to callback function
- timeout (Int32)
- timeout for the transfer in milliseconds
Remarks
Note:
Isochronous transfers are not supported on windows.
Note:FillIsochronous(MonoUsbDeviceHandle, Byte, IntPtr, Int32, Int32, Delegate, IntPtr, Int32) is similar to
libusb_fill_iso_transfer().