Commit 3fab0c4c authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

include: Pack HID_DESCRIPTOR.

parent eaf2d622
...@@ -49,6 +49,7 @@ typedef struct _HID_DEVICE_ATTRIBUTES ...@@ -49,6 +49,7 @@ typedef struct _HID_DEVICE_ATTRIBUTES
USHORT Reserved[11]; USHORT Reserved[11];
} HID_DEVICE_ATTRIBUTES, *PHID_DEVICE_ATTRIBUTES; } HID_DEVICE_ATTRIBUTES, *PHID_DEVICE_ATTRIBUTES;
#include <pshpack1.h>
typedef struct _HID_DESCRIPTOR typedef struct _HID_DESCRIPTOR
{ {
UCHAR bLength; UCHAR bLength;
...@@ -62,6 +63,7 @@ typedef struct _HID_DESCRIPTOR ...@@ -62,6 +63,7 @@ typedef struct _HID_DESCRIPTOR
USHORT wReportLength; USHORT wReportLength;
} DescriptorList[1]; } DescriptorList[1];
} HID_DESCRIPTOR, *PHID_DESCRIPTOR; } HID_DESCRIPTOR, *PHID_DESCRIPTOR;
#include <poppack.h>
#define HID_HID_DESCRIPTOR_TYPE 0x21 #define HID_HID_DESCRIPTOR_TYPE 0x21
#define HID_REPORT_DESCRIPTOR_TYPE 0x22 #define HID_REPORT_DESCRIPTOR_TYPE 0x22
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment