MEMORY_PRIORITY_INFORMATION structure (processthreadsapi.h)
Specifies the memory priority for a thread or process. This structure is used by the GetProcessInformation, SetProcessInformation, GetThreadInformation, and SetThreadInformation functions.
Syntax
typedef struct _MEMORY_PRIORITY_INFORMATION {
ULONG MemoryPriority;
} MEMORY_PRIORITY_INFORMATION, *PMEMORY_PRIORITY_INFORMATION;
Members
MemoryPriority
The memory priority for the thread or process. This member can be one of the following values.
Remarks
The memory priority of a thread or process serves as a hint to the memory manager when it trims pages from the working set. Other factors being equal, pages with lower memory priority are trimmed before pages with higher memory priority. For more information, see Working Set.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | processthreadsapi.h (include Windows.h) |