MEMORY_PARTITION_PAGEFILE_INFORMATION

The MEMORY_PARTITION_PAGEFILE_INFORMATION structure is expected as input to NtManagePartition when given the information class SystemMemoryPartitionAddPagefile.

The MEMORY_PARTITION_PAGEFILE_INFORMATION structure is 0x20 or 0x28 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
0x00 0x00
UNICODE_STRING PageFileName;
0x08 0x10
LARGE_INTEGER MinimumSize;
0x10 0x18
LARGE_INTEGER MaximumSize;
0x18 0x20
ULONG Flags;