Language
|
Description
|
C/C++
|
BOOL UsbGetConfig(IN USB_DEVICE_HANDLE hUsb,
| OUT PUCHAR ConfigurationNum);
|
|
Delphi
|
function UsbGetConfig(hUsb : USB_DEVICE_HANDLE;
var ConfigurationNum : UCHAR) : BOOL; stdcall;
|
VB
|
Function UsbGetConfig (ByVal hUsb As Long,
ByRef ConfigNum As Byte) As Boolean
|
Parameters
| Specifies handle to USB device
|
| Value returned from device.
|
Return Value
| If function fails it return FALSE. To detect error call GetLastError function.
|
Description
| Use this function to retrieve number of currently active configuration. See USB specification for more information
|
|