From 44c63ec5fd802970f438f4a538ea468b30d44917 Mon Sep 17 00:00:00 2001 From: short <> Date: Fri, 22 Nov 2002 02:22:22 +0000 Subject: [PATCH] +#define IO_TYPE_* - for 'Type' fields of various W32 structures --- include/ddk/iodef.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/include/ddk/iodef.h b/include/ddk/iodef.h index 4d0b4e9..3aa119b 100644 --- a/include/ddk/iodef.h +++ b/include/ddk/iodef.h @@ -213,6 +213,24 @@ typedef enum _INTERFACE_TYPE } INTERFACE_TYPE, *PINTERFACE_TYPE; +/* Type is the first CSHORT of any structure (type NODETYPECODE), + * it is usually code 'Type' field by reactos. + */ +#define IO_TYPE_ADAPTER 0x00000001 +#define IO_TYPE_CONTROLLER 0x00000002 +#define IO_TYPE_DEVICE 0x00000003 +#define IO_TYPE_DRIVER 0x00000004 +#define IO_TYPE_FILE 0x00000005 +#define IO_TYPE_IRP 0x00000006 +#define IO_TYPE_MASTER_ADAPTER 0x00000007 +#define IO_TYPE_OPEN_PACKET 0x00000008 +#define IO_TYPE_TIMER 0x00000009 +#define IO_TYPE_VPB 0x0000000a +#define IO_TYPE_ERROR_LOG 0x0000000b +#define IO_TYPE_ERROR_MESSAGE 0x0000000c +#define IO_TYPE_DEVICE_OBJECT_EXTENSION 0x0000000d + + enum { IRP_MJ_CREATE, -- 1.8.3.1