|C#||Visual Basic||Visual C++|
Public Shared Function GetMaxPacketSize ( _ deviceProfileHandle As MonoUsbProfileHandle, _ endpoint As Byte _ ) As Integer
This function was originally intended to be of assistance when setting up isochronous transfers, but a design mistake resulted in this function instead. It simply returns the wMaxPacketSize value without considering its contents. If you're dealing with isochronous transfers, you probably want GetMaxIsoPacketSize(MonoUsbProfileHandle, Byte) instead.