struttura HID_DESCRIPTOR (hidport.h)
La struttura HID_DESCRIPTOR rappresenta un descrittore HID per un dispositivo HIDClass.
Sintassi
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;
Membri
bLength
bDescriptorType
bcdHID
bCountry
bNumDescriptors
_HID_DESCRIPTOR_DESC_LIST
_HID_DESCRIPTOR_DESC_LIST.bReportType
_HID_DESCRIPTOR_DESC_LIST.wReportLength
[1] DescriptorList[1]
Osservazioni
Il driver di classe HID usa una richiesta di IOCTL_HID_GET_DEVICE_DESCRIPTOR per ottenere il descrittore HID di un dispositivo da un minidriver HID.
Per informazioni sui descrittori HID, vedere la hid (Universal Serial Bus) standard Device Class Definition for Human Interface Devices (HID) disponibile nel sito Web USB Implementers Forum.
Fabbisogno
Requisito | Valore |
---|---|
intestazione | hidport.h (include Hidport.h) |