32#define HID_REVISION 0x00000001
35 0x4D1E55B2L, 0xF16F, 0x11CF, 0x88, 0xCB, 0x00, 0x11, 0x11, 0x00, 0x00, 0x30);
37 0x2c4e2e88L, 0x25e6, 0x4c33, 0x88, 0x2f, 0x3d, 0x82, 0xe6, 0x07, 0x36, 0x81);
39 0xf5c315a5, 0x69ac, 0x4bc2, 0x92, 0x79, 0xd0, 0xb6, 0x45, 0x76, 0xf4, 0x4b);
41#define GUID_CLASS_INPUT GUID_DEVINTERFACE_HID
43#define GUID_CLASS_INPUT_STR "4D1E55B2-F16F-11CF-88CB-001111000030"
46#define HID_CTL_CODE(id) \
47 CTL_CODE (FILE_DEVICE_KEYBOARD, (id), METHOD_NEITHER, FILE_ANY_ACCESS)
48#define HID_BUFFER_CTL_CODE(id) \
49 CTL_CODE (FILE_DEVICE_KEYBOARD, (id), METHOD_BUFFERED, FILE_ANY_ACCESS)
50#define HID_IN_CTL_CODE(id) \
51 CTL_CODE (FILE_DEVICE_KEYBOARD, (id), METHOD_IN_DIRECT, FILE_ANY_ACCESS)
52#define HID_OUT_CTL_CODE(id) \
53 CTL_CODE (FILE_DEVICE_KEYBOARD, (id), METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
56#define IOCTL_GET_PHYSICAL_DESCRIPTOR HID_OUT_CTL_CODE(102)
57#define IOCTL_HID_FLUSH_QUEUE HID_CTL_CODE(101)
58#define IOCTL_HID_GET_COLLECTION_DESCRIPTOR HID_CTL_CODE(100)
59#define IOCTL_HID_GET_COLLECTION_INFORMATION HID_BUFFER_CTL_CODE(106)
60#define IOCTL_HID_GET_FEATURE HID_OUT_CTL_CODE(100)
61#define IOCTL_HID_GET_HARDWARE_ID HID_OUT_CTL_CODE(103)
62#define IOCTL_HID_GET_INDEXED_STRING HID_OUT_CTL_CODE(120)
63#define IOCTL_HID_GET_INPUT_REPORT HID_OUT_CTL_CODE(104)
64#define IOCTL_HID_GET_MANUFACTURER_STRING HID_OUT_CTL_CODE(110)
65#define IOCTL_GET_NUM_DEVICE_INPUT_BUFFERS HID_BUFFER_CTL_CODE(104)
66#define IOCTL_HID_GET_POLL_FREQUENCY_MSEC HID_BUFFER_CTL_CODE(102)
67#define IOCTL_HID_GET_PRODUCT_STRING HID_OUT_CTL_CODE(111)
68#define IOCTL_HID_GET_SERIALNUMBER_STRING HID_OUT_CTL_CODE(112)
69#define IOCTL_HID_SET_FEATURE HID_IN_CTL_CODE(100)
70#define IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS HID_BUFFER_CTL_CODE(105)
71#define IOCTL_HID_SET_OUTPUT_REPORT HID_IN_CTL_CODE(101)
72#define IOCTL_HID_SET_POLL_FREQUENCY_MSEC HID_BUFFER_CTL_CODE(103)
74#define IOCTL_HID_GET_DRIVER_CONFIG HID_BUFFER_CTL_CODE(100)
75#define IOCTL_HID_SET_DRIVER_CONFIG HID_BUFFER_CTL_CODE(101)
76#define IOCTL_HID_GET_INDEXED_STRING HID_OUT_CTL_CODE(120)
77#define IOCTL_HID_GET_MS_GENRE_DESCRIPTOR HID_OUT_CTL_CODE(121)
101(
NTAPI *PHIDP_GETCAPS)(
VOID(WINAPI * PINTERFACE_DEREFERENCE)(PVOID Context)
VOID(WINAPI * PINTERFACE_REFERENCE)(PVOID Context)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
enum _HID_STRING_TYPE HID_STRING_TYPE
struct _HID_INTERFACE_HIDPARSE * PHID_INTERFACE_HIDPARSE
VOID(NTAPI * PHID_STATUS_CHANGE)(_In_ PVOID Context, _In_ enum DeviceObjectState State)
struct _HID_DRIVER_CONFIG * PHID_DRIVER_CONFIG
@ HID_STRING_ID_ISERIALNUMBER
@ HID_STRING_ID_IMANUFACTURER
struct _HID_INTERFACE_NOTIFY_PNP * PHID_INTERFACE_NOTIFY_PNP
struct _HID_XFER_PACKET * PHID_XFER_PACKET
struct _HID_COLLECTION_INFORMATION * PHID_COLLECTION_INFORMATION
struct _HID_INTERFACE_HIDPARSE HID_INTERFACE_HIDPARSE
struct _HID_XFER_PACKET HID_XFER_PACKET
struct _HID_COLLECTION_INFORMATION HID_COLLECTION_INFORMATION
struct _HID_DRIVER_CONFIG HID_DRIVER_CONFIG
struct _HID_INTERFACE_NOTIFY_PNP HID_INTERFACE_NOTIFY_PNP
_Must_inspect_result_ typedef _Out_ PHIDP_CAPS Capabilities
_Must_inspect_result_ _Out_writes_to_ DataLength PHIDP_DATA _Inout_ PULONG _In_ PHIDP_PREPARSED_DATA PreparsedData
struct _HIDP_PREPARSED_DATA * PHIDP_PREPARSED_DATA
#define _Must_inspect_result_
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
PHIDP_GETCAPS HidpGetCaps
PINTERFACE_DEREFERENCE InterfaceDereference
PINTERFACE_REFERENCE InterfaceReference
PINTERFACE_REFERENCE InterfaceReference
PINTERFACE_DEREFERENCE InterfaceDereference
PHID_STATUS_CHANGE StatusChangeFn