Aric Stewart : include: Add HID_XFER_PACKET and HID_REVISION to hidclass.h.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jul 8 09:51:23 CDT 2015


Module: wine
Branch: master
Commit: e485da13cea59eb759ddd191ff27b7be053a78de
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e485da13cea59eb759ddd191ff27b7be053a78de

Author: Aric Stewart <aric at codeweavers.com>
Date:   Mon Jul  6 13:10:07 2015 -0500

include: Add HID_XFER_PACKET and HID_REVISION to hidclass.h.

---

 include/ddk/hidclass.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/ddk/hidclass.h b/include/ddk/hidclass.h
index 09dc467..f5439ac 100644
--- a/include/ddk/hidclass.h
+++ b/include/ddk/hidclass.h
@@ -22,6 +22,8 @@
 extern "C" {
 #endif
 
+#define HID_REVISION 1
+
 DEFINE_GUID (GUID_DEVINTERFACE_HID, \
   0x4D1E55B2L, 0xF16F, 0x11CF, 0x88, 0xCB, 0x00, 0x11, 0x11, 0x00, 0x00, 0x30);
 
@@ -65,6 +67,12 @@ typedef struct _HID_COLLECTION_INFORMATION {
     USHORT  VersionNumber;
 } HID_COLLECTION_INFORMATION, *PHID_COLLECTION_INFORMATION;
 
+typedef struct _HID_XFER_PACKET {
+  PUCHAR reportBuffer;
+  ULONG  reportBufferLen;
+  UCHAR  reportId;
+} HID_XFER_PACKET, *PHID_XFER_PACKET;
+
 #ifdef __cplusplus
 }
 #endif




More information about the wine-cvs mailing list