HID_DESCRIPTOR structure (hidport.h)

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

Syntax

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;

Members

bLength

bDescriptorType

bcdHID

bCountry

bNumDescriptors

_HID_DESCRIPTOR_DESC_LIST

_HID_DESCRIPTOR_DESC_LIST.bReportType

_HID_DESCRIPTOR_DESC_LIST.wReportLength

[1] 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.

Requirements

Requirement Value
Header hidport.h (include Hidport.h)

See also

IOCTL_HID_GET_DEVICE_DESCRIPTOR