Skip to content

Latest commit

 

History

History
145 lines (119 loc) · 4.93 KB

ns-processthreadsapi-memory_priority_information.md

File metadata and controls

145 lines (119 loc) · 4.93 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:processthreadsapi._MEMORY_PRIORITY_INFORMATION
MEMORY_PRIORITY_INFORMATION (processthreadsapi.h)
Specifies the memory priority for a thread or process.
*PMEMORY_PRIORITY_INFORMATION
MEMORY_PRIORITY_BELOW_NORMAL
MEMORY_PRIORITY_INFORMATION
MEMORY_PRIORITY_INFORMATION structure
MEMORY_PRIORITY_LOW
MEMORY_PRIORITY_MEDIUM
MEMORY_PRIORITY_NORMAL
MEMORY_PRIORITY_VERY_LOW
PMEMORY_PRIORITY_INFORMATION
PMEMORY_PRIORITY_INFORMATION structure pointer
_MEMORY_PRIORITY_INFORMATION
base.memory_priority_information
processthreadsapi/MEMORY_PRIORITY_INFORMATION
processthreadsapi/PMEMORY_PRIORITY_INFORMATION
base\memory_priority_information.htm
processthreadsapi
03cacfdf-5c66-42e4-bfcf-afaacd3ad038
12/05/2018
*PMEMORY_PRIORITY_INFORMATION, MEMORY_PRIORITY_BELOW_NORMAL, MEMORY_PRIORITY_INFORMATION, MEMORY_PRIORITY_INFORMATION structure, MEMORY_PRIORITY_LOW, MEMORY_PRIORITY_MEDIUM, MEMORY_PRIORITY_NORMAL, MEMORY_PRIORITY_VERY_LOW, PMEMORY_PRIORITY_INFORMATION, PMEMORY_PRIORITY_INFORMATION structure pointer, _MEMORY_PRIORITY_INFORMATION, base.memory_priority_information, processthreadsapi/MEMORY_PRIORITY_INFORMATION, processthreadsapi/PMEMORY_PRIORITY_INFORMATION
processthreadsapi.h
Windows.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Windows
MEMORY_PRIORITY_INFORMATION, *PMEMORY_PRIORITY_INFORMATION
19H1
_MEMORY_PRIORITY_INFORMATION
processthreadsapi/_MEMORY_PRIORITY_INFORMATION
PMEMORY_PRIORITY_INFORMATION
processthreadsapi/PMEMORY_PRIORITY_INFORMATION
MEMORY_PRIORITY_INFORMATION
processthreadsapi/MEMORY_PRIORITY_INFORMATION
c++
APIRef
kbSyntax
HeaderDef
processthreadsapi.h
MEMORY_PRIORITY_INFORMATION

MEMORY_PRIORITY_INFORMATION structure

-description

Specifies the memory priority for a thread or process. This structure is used by the GetProcessInformation, SetProcessInformation, GetThreadInformation, and SetThreadInformation functions.

-struct-fields

-field MemoryPriority

The memory priority for the thread or process. This member can be one of the following values.

Value Meaning
MEMORY_PRIORITY_VERY_LOW
1
Very low memory priority.
MEMORY_PRIORITY_LOW
2
Low memory priority.
MEMORY_PRIORITY_MEDIUM
3
Medium memory priority.
MEMORY_PRIORITY_BELOW_NORMAL
4
Below normal memory priority.
MEMORY_PRIORITY_NORMAL
5
Normal memory priority. This is the default priority for all threads and processes on the system.

-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.

-see-also

GetProcessInformation

GetThreadInformation

SetProcessInformation

SetThreadInformation