Post · 2 min read· pp. 1069–1070

MEMORY_PARTITION_CONFIGURATION_INFORMATION

The MEMORY_PARTITION_CONFIGURATION_INFORMATION structure (formally _MEMORY_PARTITION_CONFIGURATION_INFORMATION) is produced as output by a successful call to NtManagePartition when given the information class SystemMemoryPartitionInformation (0).

The structure is defined for both 32-bit and 64-bit Windows, but the 32-bit form is useless in practice before Version 1703 because the 32-bit NtManagePartition fails trivially (returning STATUS_NOT_SUPPORTED).

VersionSize (x86)Size (x64)
10.0 to 15110x1C0x38
16070x340x58
17030x7C0xE8
1709 to 20040x800xF0

The sizes in the preceding table and the offsets, names and types in the next are from type information in private symbol files that Microsoft has included in downloadable packages of public symbol files and still makes available at the public symbol server.

Offset (x86)Offset (x64)DefinitionVersionsRemarks
0x000x00ULONG Flags;10.0 and higher
0x040x04ULONG NumaNode;1607 and higher
0x080x08ULONG Channel;1607 and higher
0x0C0x0CULONG NumberOfNumaNodes;1607 and higher
0x04 (10.0 to 1511)0x08 (10.0 to 1511)ULONG_PTR TotalNumberOfPages;10.0 to 1511next at 0x20 and 0x30
0x08 (10.0 to 1511); 0x100x10ULONG_PTR ResidentAvailablePages;10.0 and higher
0x0C (10.0 to 1511)0x18 (10.0 to 1511)ULONG_PTR AvailablePages;10.0 to 1511next at 0x24 and 0x38
0x10 (10.0 to 1511); 0x140x20 (10.0 to 1511); 0x18ULONG_PTR CommittedPages;10.0 and higher
0x14 (10.0 to 1511); 0x180x28 (10.0 to 1511); 0x20ULONG_PTR CommitLimit;10.0 and higher
0x18 (10.0 to 1511); 0x1C0x30 (10.0 to 1511); 0x28ULONG_PTR PeakCommitment;10.0 and higher
0x200x30ULONG_PTR TotalNumberOfPages;1607 and higherpreviously at 0x04 and 0x08
0x240x38ULONG_PTR AvailablePages;1607 and higherpreviously at 0x0C and 0x18
0x280x40ULONG_PTR ZeroPages;1607 and higher
0x2C0x48ULONG_PTR FreePages;1607 and higher
0x300x50ULONG_PTR StandbyPages;1607 and higher
0x340x58ULONG_PTR StandbyPageCountByPriority [8];1703 and higher
0x540x98ULONG_PTR RepurposedPagesByPriority [8];1703 and higher
0x740xD8ULONG_PTR MaximumCommitLimit;1703 and higher
0x780xE0ULONG_PTR DonatedPagesToPartitions;1703 and higher
0x7C0xE8ULONG PartitionId;1709 and higher