Module: wine Branch: master Commit: 3fab0c4cfdc6654e5d322aed655db0d801f9b327 URL: https://source.winehq.org/git/wine.git/?a=commit;h=3fab0c4cfdc6654e5d322aed6...
Author: Zebediah Figura z.figura12@gmail.com Date: Mon Feb 1 22:19:37 2021 -0600
include: Pack HID_DESCRIPTOR.
Signed-off-by: Zebediah Figura z.figura12@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/ddk/hidport.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/ddk/hidport.h b/include/ddk/hidport.h index 3ebe273583b..2c881c87921 100644 --- a/include/ddk/hidport.h +++ b/include/ddk/hidport.h @@ -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