Module: wine
Branch: master
Commit: b32aaab065ba348d53ee904645ac7413e2a55995
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b32aaab065ba348d53ee90464…
Author: Aric Stewart <aric(a)codeweavers.com>
Date: Mon Jul 6 13:09:56 2015 -0500
include: New ddk/hidtypes.h include file.
---
include/Makefile.in | 1 +
include/ddk/hidtypes.h | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 54f0ae1..b524326 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -256,6 +256,7 @@ SRCDIR_INCLUDES = \
ddk/hidpi.h \
ddk/hidport.h \
ddk/hidsdi.h \
+ ddk/hidtypes.h \
ddk/imm.h \
ddk/mountmgr.h \
ddk/ntddcdvd.h \
diff --git a/include/ddk/hidtypes.h b/include/ddk/hidtypes.h
new file mode 100644
index 0000000..dfd1061
--- /dev/null
+++ b/include/ddk/hidtypes.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2015 Aric Stewart
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#ifndef __HIDTYPES_H
+#define __HIDTYPES_H
+
+typedef enum _HID_STRING_TYPE {
+ HID_STRING_INDEXED = 0,
+ HID_STRING_ID_IMANUFACTURER,
+ HID_STRING_ID_IPRODUCT,
+ HID_STRING_ID_ISERIALNUMBER,
+ HID_STRING_MAX
+} HID_STRING_TYPE;
+
+#endif /* __HIDTYPES_H */
Module: wine
Branch: master
Commit: 71e5fdf478dbfb1821d4c39a55c3555cc8188741
URL: http://source.winehq.org/git/wine.git/?a=commit;h=71e5fdf478dbfb1821d4c39a5…
Author: Aric Stewart <aric(a)codeweavers.com>
Date: Mon Jul 6 13:07:47 2015 -0500
include: Add ddk/hidport.h.
---
include/Makefile.in | 1 +
include/ddk/hidport.h | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 795642d..54f0ae1 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -254,6 +254,7 @@ SRCDIR_INCLUDES = \
ddk/csq.h \
ddk/hidclass.h \
ddk/hidpi.h \
+ ddk/hidport.h \
ddk/hidsdi.h \
ddk/imm.h \
ddk/mountmgr.h \
diff --git a/include/ddk/hidport.h b/include/ddk/hidport.h
new file mode 100644
index 0000000..9af8c7e
--- /dev/null
+++ b/include/ddk/hidport.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2015 Aric Stewart
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __HIDPORT_H__
+#define __HIDPORT_H__
+
+#include <hidclass.h>
+
+typedef struct _HID_MINIDRIVER_REGISTRATION
+{
+ ULONG Revision;
+ PDRIVER_OBJECT DriverObject;
+ PUNICODE_STRING RegistryPath;
+ ULONG DeviceExtensionSize;
+ BOOLEAN DevicesArePolled;
+ UCHAR Reserved[3];
+} HID_MINIDRIVER_REGISTRATION, *PHID_MINIDRIVER_REGISTRATION;
+
+NTSTATUS WINAPI HidRegisterMinidriver(PHID_MINIDRIVER_REGISTRATION MinidriverRegistration);
+
+#endif /* __HIDPORT_H__ */