Bewerken

Delen via


EX_POOL_PRIORITY enumeration (wdm.h)

Specifies the priority of a pool memory allocation request.

Syntax

typedef _Enum_is_bitflag_ enum _EX_POOL_PRIORITY {
    LowPoolPriority,
    LowPoolPrioritySpecialPoolOverrun = 8,
    LowPoolPrioritySpecialPoolUnderrun = 9,
    NormalPoolPriority = 16,
    NormalPoolPrioritySpecialPoolOverrun = 24,
    NormalPoolPrioritySpecialPoolUnderrun = 25,
    HighPoolPriority = 32,
    HighPoolPrioritySpecialPoolOverrun = 40,
    HighPoolPrioritySpecialPoolUnderrun = 41
} EX_POOL_PRIORITY;

Constants

 
LowPoolPriority
This setting indicates that it is acceptable to the driver for the mapping request to fail if the system is low on resources. For example, this could be for a non-critical network connection where the driver can handle the failure case when system resources are close to being depleted.
LowPoolPrioritySpecialPoolOverrun
LowPoolPrioritySpecialPoolUnderrun
NormalPoolPriority
Indicates that it is acceptable to the driver for the mapping request to fail if the system is very low on resources. For example, this could be for a non-critical local filesystem request.
NormalPoolPrioritySpecialPoolOverrun
NormalPoolPrioritySpecialPoolUnderrun
HighPoolPriority
Should be used when it is unacceptable to the driver for the mapping request to fail unless the system is out of resources. An example of this would be the paging file path in a driver.
HighPoolPrioritySpecialPoolOverrun
HighPoolPrioritySpecialPoolUnderrun

Remarks

The SpecialPool settings can be used to bound the allocation at a page beginning or end.Use this option only on systems being debugged as the memory cost is expensive.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header wdm.h

See also

ExAllocatePoolPriorityZero