DEVICE_DESCRIPTOR structure (usbscan.h)
The DEVICE_DESCRIPTOR structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_GET_DEVICE_DESCRIPTOR.
Syntax
typedef struct _DEVICE_DESCRIPTOR {
USHORT usVendorId;
USHORT usProductId;
USHORT usBcdDevice;
USHORT usLanguageId;
} DEVICE_DESCRIPTOR, *PDEVICE_DESCRIPTOR;
Members
usVendorId
Vendor identifier.
usProductId
Device product identifier.
usBcdDevice
BCD-encoded device version number.
usLanguageId
Not used.
Requirements
Requirement | Value |
---|---|
Header | usbscan.h (include Usbscan.h) |