include: Pack HID_DESCRIPTOR.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-02-01 22:19:37 -06:00 committed by Alexandre Julliard
parent eaf2d6224c
commit 3fab0c4cfd

View file

@ -49,6 +49,7 @@ typedef struct _HID_DEVICE_ATTRIBUTES
USHORT Reserved[11];
} HID_DEVICE_ATTRIBUTES, *PHID_DEVICE_ATTRIBUTES;
#include <pshpack1.h>
typedef struct _HID_DESCRIPTOR
{
UCHAR bLength;
@ -62,6 +63,7 @@ typedef struct _HID_DESCRIPTOR
USHORT wReportLength;
} DescriptorList[1];
} HID_DESCRIPTOR, *PHID_DESCRIPTOR;
#include <poppack.h>
#define HID_HID_DESCRIPTOR_TYPE 0x21
#define HID_REPORT_DESCRIPTOR_TYPE 0x22