[Wine-patches] [eterhack 12/23] include: Define IOCTL_USB_GET_NODE_INFORMATION.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Июн 5 13:00:12 MSD 2009


---
 include/ddk/usbioctl.h |   27 +++++++++++++++++++++++++++
 include/ddk/usbiodef.h |    2 ++
 2 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 include/ddk/usbioctl.h

diff --git a/include/ddk/usbioctl.h b/include/ddk/usbioctl.h
new file mode 100644
index 0000000..34615fc
--- /dev/null
+++ b/include/ddk/usbioctl.h
@@ -0,0 +1,27 @@
+/*
+ * 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 __USBIOCTL_H__
+#define __USBIOCTL_H__
+
+#include <ddk/usb100.h>
+#include <ddk/usbiodef.h>
+
+#define IOCTL_USB_GET_NODE_INFORMATION CTL_CODE(FILE_DEVICE_USB, USB_GET_NODE_INFORMATION, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#endif  /* __USBIOCTL_H__ */
diff --git a/include/ddk/usbiodef.h b/include/ddk/usbiodef.h
index 6865adc..bc4b4da 100644
--- a/include/ddk/usbiodef.h
+++ b/include/ddk/usbiodef.h
@@ -21,6 +21,8 @@
 
 #define USB_SUBMIT_URB           0
 
+#define USB_GET_NODE_INFORMATION 258
+
 DEFINE_GUID( GUID_DEVINTERFACE_USB_HUB,
   0xF18A0E88, 0xC30C, 0x11D0, 0x88, 0x15, 0x00, 0xA0, 0xC9, 0x06, 0xBE, 0xD8 );
 
-- 
1.6.3.1



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