[Wine-patches] [eterhack 14/24] include: Add ddk/usb{iodef, drivr}.h.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Мар 4 12:25:23 MSK 2009


---
 include/Makefile.in    |    2 ++
 include/ddk/usbdrivr.h |   28 ++++++++++++++++++++++++++++
 include/ddk/usbiodef.h |   26 ++++++++++++++++++++++++++
 3 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 include/ddk/usbdrivr.h
 create mode 100644 include/ddk/usbiodef.h

diff --git a/include/Makefile.in b/include/Makefile.in
index 5609768..1dd0762 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -172,6 +172,8 @@ SRCDIR_INCLUDES = \
 	ddk/usb100.h \
 	ddk/usb200.h \
 	ddk/usbdlib.h \
+	ddk/usbdrivr.h \
+	ddk/usbiodef.h \
 	ddk/wdm.h \
 	ddk/wdmguid.h \
 	ddk/winddiui.h \
diff --git a/include/ddk/usbdrivr.h b/include/ddk/usbdrivr.h
new file mode 100644
index 0000000..557cbe1
--- /dev/null
+++ b/include/ddk/usbdrivr.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2009 Alexander Morozov for Etersoft
+ *
+ * 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   __USBDRIVR_H__
+#define   __USBDRIVR_H__
+
+#include <ddk/usbiodef.h>
+#include <ddk/usb.h>
+#include <ddk/usbdlib.h>
+
+#define IOCTL_INTERNAL_USB_SUBMIT_URB  CTL_CODE(FILE_DEVICE_USB, USB_SUBMIT_URB, METHOD_NEITHER, FILE_ANY_ACCESS)
+
+#endif  /* __USBDRIVR_H__ */
diff --git a/include/ddk/usbiodef.h b/include/ddk/usbiodef.h
new file mode 100644
index 0000000..15a54fa
--- /dev/null
+++ b/include/ddk/usbiodef.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2009 Alexander Morozov for Etersoft
+ *
+ * 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   __USBIODEF_H__
+#define   __USBIODEF_H__
+
+#define USB_SUBMIT_URB           0
+
+#define FILE_DEVICE_USB FILE_DEVICE_UNKNOWN
+
+#endif  /* __USBIODEF_H__ */
-- 
1.6.1.3.GIT



Подробная информация о списке рассылки Wine-patches