Partager via


structure HID_DESCRIPTOR (hidport.h)

La structure HID_DESCRIPTOR représente un descripteur HID pour un appareil HIDClass.

Syntaxe

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;

Membres

bLength

bDescriptorType

bcdHID

bCountry

bNumDescriptors

_HID_DESCRIPTOR_DESC_LIST

_HID_DESCRIPTOR_DESC_LIST.bReportType

_HID_DESCRIPTOR_DESC_LIST.wReportLength

[1] DescriptorList[1]

Remarques

Le pilote de classe HID utilise une demande de IOCTL_HID_GET_DEVICE_DESCRIPTOR pour obtenir le descripteur HID d’un appareil à partir d’un minidriver HID.

Pour plus d’informations sur les descripteurs HID, consultez la norme USB (Universal Serial Bus) standard Définition de classe d’appareil pour les appareils HID (Human Interface Devices) située sur le site web forum des implémenteurs USB.

Exigences

Exigence Valeur
d’en-tête hidport.h (include Hidport.h)

Voir aussi

IOCTL_HID_GET_DEVICE_DESCRIPTOR