[try 5] [3/4] include/ddk/wdm.h: Add IO_TYPE_* defines

Alexander Morozov amorozov at etersoft.ru
Wed Aug 27 04:20:04 CDT 2008


These defines are necessary for ntoskrnl.exe tests.
-------------- next part --------------
From fef21f068175ed19d59fda85de39e0b25b64be90 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov at etersoft.ru>
Date: Tue, 26 Aug 2008 13:08:25 +0400
Subject: [PATCH] include/ddk/wdm.h: 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 e2340dd..32edfdc 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -186,6 +186,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.GIT



More information about the wine-patches mailing list