Language
|
Description
|
C/C++
|
BOOL UsbGetDeviceInfo(IN USB_DEVICE_HANDLE hUsb,
| IN OUT PRDUSB_DEVICE_INFORMATION pDevInfo,
|
|
Delphi
|
function UsbGetDeviceInfo(hUsb : USB_DEVICE_HANDLE;
var DeviceInfo : RAPIDUSB_DEVICE_INFORMATION;
DeviceInfoLen : ULONG) : BOOL stdcall;
|
VB
|
Function UsbGetDeviceInfo (ByVal hUsb As Long, _
ByRef DevInfo As RDUSB_DEVICE_INFORMATION, _
ByVal DevInfoLen As Long) As Boolean
|
Parameters
| Specifies device handle. This handle can be obtained with OpenRapidUsb.
|
| Pointer to user allocated buffer.
|
| Length of pDevInfo buffer.
| Return Value
| If device is in unconfigured state function returns FALSE and data containing in pDevInfo buffer is invalid .
|
Description
| Call this function to get currently active settings of USB device.
|
|