HID_DESCRIPTOR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-hidport-_hid_descriptor)

_HID_DESCRIPTOR structure

Description

The HID_DESCRIPTOR structure represents a HID descriptor for a HIDClass device.

Members

bLength

bDescriptorType

bcdHID

bCountry

bNumDescriptors

_HID_DESCRIPTOR_DESC_LIST

_HID_DESCRIPTOR_DESC_LIST.bReportType

_HID_DESCRIPTOR_DESC_LIST.wReportLength

DescriptorList [1]

Remarks

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.

See also

IOCTL_HID_GET_DEVICE_DESCRIPTOR