Post · 3 min read· pp. 1600–1602

MI_VISIBLE_PARTITION

The MI_VISIBLE_PARTITION structure (formally _MI_VISIBLE_PARTITION) is here thought to exist only as the Vp member of an MI_PARTITION.

Variability

As a collection of what had been internal variables, the MI_VISIBLE_PARTITION is highly susceptible to changing between builds. The following changes of size give some rough indication:

VersionSize (x86)Size (x64)
10.0 to 15110x0B800x1100
16070x0CC00x1380
1703 to 17090x0C400x1200
1803 to 20040x0C000x1200

Layout

The sizes in the preceding table and the names and types in the next are from type information in public symbol files for the kernel.

Offset (x86)Offset (x64)DefinitionVersionsRemarks
0x000x00ULONG_PTR LowestPhysicalPage;10.0 and higher
0x040x08ULONG_PTR HighestPhysicalPage;10.0 and higher
0x080x10ULONG_PTR NumberOfPhysicalPages;10.0 and higher
0x0C0x18ULONG volatile NumberOfPagingFiles;10.0 and higher
0x100x1CBOOLEAN SystemCacheInitialized;1703 and higherpreviously at 0x0238 and 0x03A0
0x10 (10.0 to 1607); 0x140x20MMPAGING_FILE *PagingFile [0x10];10.0 and higher
0x800xC0ULONG_PTR volatile AvailablePages;10.0 and higher
0xC00x0100ULONG_PTR volatile ResidentAvailablePages;10.0 and higher
0x01000x0140MMSUPPORT_INSTANCE PartitionWs [1];1607 and higher
0x0164 (1607); 0x0168 (1703 to 1709); 0x01640x0200 (1607); 0x0208 (1703 to 1709); 0x0200MMWSL_INSTANCE PartitionWorkingSetLists [1];1607 and higher
0x0238 (1607)0x03A0BOOLEAN SystemCacheInitialized;1607 onlynext at 0x10 and 0x1C
0xC4 (10.0 to 1511); 0x023C (1607); 0x0180 (1703 to 1709); 0x017C0x0108 (10.0 to 1511); 0x03A8 (1607); 0x0230 (1703 to 1709); 0x0228ULONG_PTR volatile TotalCommittedPages;10.0 and higher
0x0100 (10.0 to 1511); 0x0240 (1607); 0x01C0 (1703 to 1709); 0x01800x0140 (10.0 to 1511); 0x03C0 (1607); 0x0240MMPFN_LIST ModifiedPageListHead;10.0 and higher
0x0140 (10.0 to 1511); 0x0280 (1607); 0x0200 (1703 to 1709); 0x01C00x0180 (10.0 to 1511); 0x0400 (1607); 0x0280MMPFN_LIST ModifiedNoWritePageListHead;10.0 and higher
0x0154 (10.0 to 1511); 0x0294 (1607); 0x0214 (1703 to 1709); 0x01D40x01A8 (10.0 to 1511); 0x0428 (1607); 0x02A8ULONG_PTR TotalCommitLimit;10.0 and higher
0x0158 (10.0 to 1511); 0x0298 (1607); 0x0218 (1703 to 1709); 0x01D80x01B0 (10.0 to 1511); 0x0430 (1607); 0x02B0ULONG_PTR TotalPagesForPagingFile;10.0 and higher
0x015C (10.0 to 1511); 0x029C (1607); 0x021C (1703 to 1709); 0x01DC0x01B8 (10.0 to 1511); 0x0438 (1607); 0x02B8ULONG_PTR VadPhysicalPages;10.0 and higher
0x0160 (10.0 to 1511); 0x02A0 (1607); 0x0220 (1703 to 1709); 0x01E00x01C0 (10.0 to 1511); 0x0440 (1607); 0x02C0ULONG_PTR ProcessLockedFilePages;10.0 and higher
0x0224 (1703 to 1709); 0x01E40x02C8ULONG_PTR volatile SharedCommit;1703 and higher
0x01E80x02D0ULONG_PTR SlabAllocatorPages;1809 and higher
0x0164 (10.0 to 1511); 0x02A4 (1607); 0x0228 (1703 to 1709); 0x01E8 (1803); 0x01EC0x01C8 (10.0 to 1511); 0x0448 (1607); 0x02D0 (1703 to 1803); 0x02D8ULONG ChargeCommitmentFailures [4];10.0 and higher
0x01D8 (10.0 to 1511); 0x0458 (1607)ULONG_PTR volatile PageTableBitmapPages;10.0 to 1607
0x0174 (10.0 to 1511); 0x02B4 (1607); 0x0238 (1703 to 1709); 0x01F8 (1803); 0x01FC0x01E0 (10.0 to 1511); 0x0460 (1607); 0x02E0 (1703 to 1803); 0x02E8LONG volatile PageFileTraceIndex;10.0 and higher
0x0178 (10.0 to 1511); 0x02B8 (1607); 0x0240 (1703 to 1709); 0x02000x01E8 (10.0 to 1511); 0x0468 (1607); 0x02E8 (1703 to 1803); 0x02F0MI_PAGEFILE_TRACES PageFileTraces [0x0200];10.0 and higher