// usbscan.h
typedef struct _USBSCAN_GET_DESCRIPTOR {
UCHAR DescriptorType;
UCHAR Index;
USHORT LanguageId;
} USBSCAN_GET_DESCRIPTOR, *PUSBSCAN_GET_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The USBSCAN_GET_DESCRIPTOR structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_GET_USB_DESCRIPTOR.
DescriptorTypeSame as the DescriptorType parameter to UsbBuildGetDescriptorRequest.
IndexSame as the Index parameter to UsbBuildGetDescriptorRequest.
LanguageIdSame as the LanguageId parameter to UsbBuildGetDescriptorRequest.