Geoff Chappell, Software Analyst
The MEMORY_PARTITION_TRANSFER_INFORMATION structure is expected as input to NtManagePartition when given the information class SystemMemoryPartitionMoveMemory.
The MEMORY_PARTITION_TRANSFER_INFORMATION structure is 0x0C or 0x10 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 |
ULONG_PTR NumberOfPages; |
0x04 | 0x08 |
ULONG NumaNode; |
0x08 | 0x0C |
ULONG Flags; |
The NumaNode can be 0xFFFFFFFF to mean the node for the current thread’s ideal processor.
No Flags are presently valid. All bits must be clear.