Aric Stewart : include: Add ddk/hidport.h.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 7 08:11:59 CDT 2015


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

Author: Aric Stewart <aric at 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__ */




More information about the wine-cvs mailing list