9 #ifdef _WIN32 // patch for MRPT
59 "WinUsb_GetAssociatedInterface");
62 "WinUsb_GetDescriptor");
65 "WinUsb_QueryInterfaceSettings");
68 "WinUsb_QueryDeviceInformation");
71 "WinUsb_SetCurrentAlternateSetting");
74 "WinUsb_GetCurrentAlternateSetting");
79 "WinUsb_SetPipePolicy");
82 "WinUsb_GetPipePolicy");
89 "WinUsb_ControlTransfer");
98 "WinUsb_SetPowerPolicy");
101 "WinUsb_GetPowerPolicy");
104 "WinUsb_GetOverlappedResult");
120 HANDLE DeviceHandle, PWINUSB_INTERFACE_HANDLE InterfaceHandle)
158 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR AssociatedInterfaceIndex,
159 PWINUSB_INTERFACE_HANDLE AssociatedInterfaceHandle)
163 InterfaceHandle, AssociatedInterfaceIndex,
164 AssociatedInterfaceHandle);
189 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR DescriptorType, UCHAR Index,
190 USHORT LanguageID, PUCHAR Buffer, ULONG BufferLength,
191 PULONG LengthTransferred)
195 InterfaceHandle, DescriptorType, Index, LanguageID, Buffer,
196 BufferLength, LengthTransferred);
224 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR AlternateInterfaceNumber,
225 PUSB_INTERFACE_DESCRIPTOR UsbAltInterfaceDescriptor)
229 InterfaceHandle, AlternateInterfaceNumber,
230 UsbAltInterfaceDescriptor);
254 WINUSB_INTERFACE_HANDLE InterfaceHandle, ULONG InformationType,
255 PULONG BufferLength, PVOID Buffer)
259 InterfaceHandle, InformationType, BufferLength, Buffer);
278 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR SettingNumber)
282 InterfaceHandle, SettingNumber);
298 WINUSB_INTERFACE_HANDLE InterfaceHandle, PUCHAR SettingNumber)
302 InterfaceHandle, SettingNumber);
344 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR AlternateInterfaceNumber,
345 UCHAR PipeIndex, PWINUSB_PIPE_INFORMATION PipeInformation)
349 InterfaceHandle, AlternateInterfaceNumber, PipeIndex,
467 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR PipeID, ULONG PolicyType,
468 ULONG ValueLength, PVOID Value)
472 InterfaceHandle, PipeID, PolicyType, ValueLength, Value);
495 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR PipeID, ULONG PolicyType,
496 PULONG ValueLength, PVOID Value)
500 InterfaceHandle, PipeID, PolicyType, ValueLength, Value);
528 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR PipeID, PUCHAR Buffer,
529 ULONG BufferLength, PULONG LengthTransferred, LPOVERLAPPED Overlapped)
533 InterfaceHandle, PipeID, Buffer, BufferLength, LengthTransferred,
560 WINUSB_INTERFACE_HANDLE InterfaceHandle, UCHAR PipeID, PUCHAR Buffer,
561 ULONG BufferLength, PULONG LengthTransferred, LPOVERLAPPED Overlapped)
565 InterfaceHandle, PipeID, Buffer, BufferLength, LengthTransferred,
600 WINUSB_INTERFACE_HANDLE InterfaceHandle, WINUSB_SETUP_PACKET SetupPacket,
601 PUCHAR Buffer, ULONG BufferLength, PULONG LengthTransferred,
602 LPOVERLAPPED Overlapped)
606 InterfaceHandle, SetupPacket, Buffer, BufferLength,
607 LengthTransferred, Overlapped);
712 WINUSB_INTERFACE_HANDLE InterfaceHandle, ULONG PolicyType,
713 ULONG ValueLength, PVOID Value)
717 InterfaceHandle, PolicyType, ValueLength, Value);
757 WINUSB_INTERFACE_HANDLE InterfaceHandle, ULONG PolicyType,
758 PULONG ValueLength, PVOID Value)
762 InterfaceHandle, PolicyType, ValueLength, Value);
823 WINUSB_INTERFACE_HANDLE InterfaceHandle, LPOVERLAPPED lpOverlapped,
824 LPDWORD lpNumberOfBytesTransferred,
BOOL bWait)
828 InterfaceHandle, lpOverlapped, lpNumberOfBytesTransferred, bWait);
833 #endif // patch for MRPT