From: Alex Henrie alexhenrie24@gmail.com
--- include/ddk/wdm.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index 54b9e6aa199..940c074b713 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -306,6 +306,23 @@ typedef enum _POOL_TYPE { MaxPoolType } POOL_TYPE;
+typedef ULONG64 POOL_FLAGS; + +#define POOL_FLAG_REQUIRED_START 0x00000001 +#define POOL_FLAG_USE_QUOTA 0x00000001 +#define POOL_FLAG_UNINITIALIZED 0x00000002 +#define POOL_FLAG_SESSION 0x00000004 +#define POOL_FLAG_CACHE_ALIGNED 0x00000008 +#define POOL_FLAG_RESERVED1 0x00000010 +#define POOL_FLAG_RAISE_ON_FAILURE 0x00000020 +#define POOL_FLAG_NON_PAGED 0x00000040 +#define POOL_FLAG_NON_PAGED_EXECUTE 0x00000080 +#define POOL_FLAG_PAGED 0x00000100 +#define POOL_FLAG_RESERVED2 0x00000200 +#define POOL_FLAG_RESERVED3 0x00000400 +#define POOL_FLAG_LAST_KNOWN_REQUIRED POOL_FLAG_RESERVED3 +#define POOL_FLAG_REQUIRED_END 0x80000000 + typedef struct _WAIT_CONTEXT_BLOCK { KDEVICE_QUEUE_ENTRY WaitQueueEntry; struct _DRIVER_CONTROL *DeviceRoutine;