HID_DESCRIPTOR-Struktur (hidport.h)
Die HID_DESCRIPTOR-Struktur stellt einen HID-Deskriptor für ein HIDClass-Gerät dar.
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;
Member
bLength
bDescriptorType
bcdHID
bCountry
bNumDescriptors
_HID_DESCRIPTOR_DESC_LIST
_HID_DESCRIPTOR_DESC_LIST.bReportType
_HID_DESCRIPTOR_DESC_LIST.wReportLength
[1] DescriptorList[1]
Hinweise
Der HID-Klassentreiber verwendet eine IOCTL_HID_GET_DEVICE_DESCRIPTOR-Anforderung , um die HID-Deskriptor eines Geräts von einem HID-Minidriver abzurufen.
Informationen zu HID-Deskriptoren finden Sie auf der Website usb Implementers Forum (Universal Serial Bus) standard Device Class Definition for Human Interface Devices (HID).
Anforderungen
Anforderung | Wert |
---|---|
Header | hidport.h (include Hidport.h) |