include: Add POOL_FLAGS and POOL_FLAG_*.

This commit is contained in:
Alex Henrie 2024-01-21 19:04:54 -07:00 committed by Alexandre Julliard
parent 46ab4f0ce7
commit 87761a8a92

View file

@ -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;