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:
parent
eaf2d6224c
commit
3fab0c4cfd
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue