From e485da13cea59eb759ddd191ff27b7be053a78de Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Mon, 6 Jul 2015 13:10:07 -0500 Subject: [PATCH] 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 09dc467a39e..f5439ac8e95 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