[Wine-devel] [4/6] include: Add IO_TYPE_* defines.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Окт 3 20:02:10 MSD 2008


----------- следующая часть -----------
From 6215bea439f38550148172e2dde2971970e259a0 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 3 Oct 2008 13:05:15 +0400
Subject: [PATCH] include: Add IO_TYPE_* defines.

---
 include/ddk/wdm.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index 81b067c..a269a03 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -253,6 +253,20 @@ typedef struct _WAIT_CONTEXT_BLOCK {
 #define IRP_ALLOCATED_FIXED_SIZE        0x04
 #define IRP_LOOKASIDE_ALLOCATION        0x08
 
+#define IO_TYPE_ADAPTER                 0x01
+#define IO_TYPE_CONTROLLER              0x02
+#define IO_TYPE_DEVICE                  0x03
+#define IO_TYPE_DRIVER                  0x04
+#define IO_TYPE_FILE                    0x05
+#define IO_TYPE_IRP                     0x06
+#define IO_TYPE_MASTER_ADAPTER          0x07
+#define IO_TYPE_OPEN_PACKET             0x08
+#define IO_TYPE_TIMER                   0x09
+#define IO_TYPE_VPB                     0x0a
+#define IO_TYPE_ERROR_LOG               0x0b
+#define IO_TYPE_ERROR_MESSAGE           0x0c
+#define IO_TYPE_DEVICE_OBJECT_EXTENSION 0x0d
+
 typedef struct _DEVICE_OBJECT {
   CSHORT  Type;
   USHORT  Size;
-- 
1.5.6.5.GIT



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