// hidport.h
typedef struct _HID_DESCRIPTOR {
UCHAR bLength;
UCHAR bDescriptorType;
USHORT bcdHID;
UCHAR bCountry;
UCHAR bNumDescriptors;
struct {
UCHAR bReportType;
USHORT wReportLength;
} _HID_DESCRIPTOR_DESC_LIST;
_HID_DESCRIPTOR_DESC_LIST DescriptorList[1];
} HID_DESCRIPTOR, *PHID_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The HID_DESCRIPTOR structure represents a HID descriptor for a HIDClass device.
bLengthbDescriptorTypebcdHIDbCountrybNumDescriptors_HID_DESCRIPTOR_DESC_LIST_HID_DESCRIPTOR_DESC_LIST.bReportType_HID_DESCRIPTOR_DESC_LIST.wReportLengthDescriptorList [1]The HID class driver uses an IOCTL_HID_GET_DEVICE_DESCRIPTOR request to obtain a device's HID descriptor from a HID minidriver.
For information about HID descriptors, see the Universal Serial Bus (USB) standard Device Class Definition for Human Interface Devices (HID) located at the USB Implementers Forum website.
IOCTL_HID_GET_DEVICE_DESCRIPTOR