MEMORY_PARTITION_INITIAL_ADD_INFORMATION

The MEMORY_PARTITION_INITIAL_ADD_INFORMATION structure both provides input for and receives output from NtManagePartition when given the information class SystemMemoryPartitionInitialAddMemory.

The MEMORY_PARTITION_INITIAL_ADD_INFORMATION structure is 0x0C or 0x18 bytes in 32-bit and 64-bit Windows, respectively. Note, however, that the 32-bit form is useless in practice since the 32-bit NtManagePartition fails as STATUS_NOT_SUPPORTED.

Offset (x86) Offset (x64) Definition Remarks
0x00 0x00
ULONG_PTR StartPage;
input
0x04 0x08
ULONG_PTR NumberOfPages;
input and output
0x08 0x10
ULONG Flags;
input