Module: wine
Branch: master
Commit: f5f04e8a2febd7cf2dfbbcfc0b362efb2d3dc84b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5f04e8a2febd7cf2dfbbcfc0…
Author: Damjan Jovanovic <damjan.jov(a)gmail.com>
Date: Mon Jul 22 19:10:39 2013 +0000
include/ddk: Add usbioctl.h.
---
include/Makefile.in | 1 +
include/ddk/usbioctl.h | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in
index 46db2dc..cecc845 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -236,6 +236,7 @@ SRCDIR_INCLUDES = \
ddk/usb100.h \
ddk/usb200.h \
ddk/usbdlib.h \
+ ddk/usbioctl.h \
ddk/usbiodef.h \
ddk/wdm.h \
ddk/winddiui.h \
diff --git a/include/ddk/usbioctl.h b/include/ddk/usbioctl.h
new file mode 100644
index 0000000..003e2b6
--- /dev/null
+++ b/include/ddk/usbioctl.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2013 Damjan Jovanovic
+ *
+ * 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 __DDK_USBIOCTL_H__
+#define __DDK_USBIOCTL_H__
+
+#define IOCTL_INTERNAL_USB_SUBMIT_URB \
+ CTL_CODE(FILE_DEVICE_USB, USB_SUBMIT_URB, METHOD_NEITHER, FILE_ANY_ACCESS)
+
+#endif /* __DDK_USBIOCTL_H__ */
Module: wine
Branch: master
Commit: f7daa3f596cdcb6ff757b55e30af39b7bb62ee83
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f7daa3f596cdcb6ff757b55e3…
Author: Damjan Jovanovic <damjan.jov(a)gmail.com>
Date: Mon Jul 22 19:09:57 2013 +0000
include/ddk: Add usbiodef.h.
---
include/Makefile.in | 1 +
include/ddk/usbiodef.h | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in
index a56c6bd..46db2dc 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -236,6 +236,7 @@ SRCDIR_INCLUDES = \
ddk/usb100.h \
ddk/usb200.h \
ddk/usbdlib.h \
+ ddk/usbiodef.h \
ddk/wdm.h \
ddk/winddiui.h \
ddk/winsplp.h \
diff --git a/include/ddk/usbiodef.h b/include/ddk/usbiodef.h
new file mode 100644
index 0000000..5f79810
--- /dev/null
+++ b/include/ddk/usbiodef.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2013 Damjan Jovanovic
+ *
+ * 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 __DDK_USBIODEF_H__
+#define __DDK_USBIODEF_H__
+
+#define USB_SUBMIT_URB 0
+
+#define FILE_DEVICE_USB FILE_DEVICE_UNKNOWN
+
+#endif /* __DDK_USBIODEF_H__ */