#ifndef _NTMMAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// private
typedef enum _PARTITION_INFORMATION_CLASS
{
SystemMemoryPartitionInformation, // q: MEMORY_PARTITION_CONFIGURATION_INFORMATION
SystemMemoryPartitionMoveMemory, // s: MEMORY_PARTITION_TRANSFER_INFORMATION
SystemMemoryPartitionAddPagefile, // s: MEMORY_PARTITION_PAGEFILE_INFORMATION
SystemMemoryPartitionCombineMemory, // qs: MEMORY_PARTITION_PAGE_COMBINE_INFORMATION
SystemMemoryPartitionInitialAddMemory, // qs: MEMORY_PARTITION_INITIAL_ADD_INFORMATION
SystemMemoryPartitionGetMemoryEvents, // qs: MEMORY_PARTITION_MEMORY_EVENTS_INFORMATION // since REDSTONE2
SystemMemoryPartitionSetAttributes, // s: MEMORY_PARTITION_ATTRIBUTES_INFORMATION
SystemMemoryPartitionNodeInformation, // qs: MEMORY_PARTITION_NODE_INFORMATION
SystemMemoryPartitionCreateLargePages, // qs: MEMORY_PARTITION_LARGE_PAGE_INFORMATION
SystemMemoryPartitionDedicatedMemoryInformation, // q: MEMORY_PARTITION_DEDICATED_MEMORY_INFORMATION (variable-length)
SystemMemoryPartitionOpenDedicatedMemory, // qs: MEMORY_PARTITION_OPEN_DEDICATED_MEMORY_INFORMATION // 10
SystemMemoryPartitionMemoryChargeAttributes, // qs: MEMORY_PARTITION_MEMORY_CHARGE_INFORMATION
SystemMemoryPartitionClearAttributes, // s: MEMORY_PARTITION_ATTRIBUTES_INFORMATION
SystemMemoryPartitionSetMemoryThresholds, // s: MEMORY_PARTITION_MEMORY_THRESHOLDS // since WIN11
SystemMemoryPartitionMemoryListCommand, // s: MEMORY_PARTITION_MEMORY_LIST_COMMAND // since 24H2
SystemMemoryPartitionMax
} PARTITION_INFORMATION_CLASS, *PPARTITION_INFORMATION_CLASS;
View code on GitHubNo description available.