Post · 1 min read· pp. 1642–1643

MMWSL_INSTANCE

The MMWSL_INSTANCE is the first part of an MMWSL_FULL, which is in turn the continuation of the ancient MMWSL structure after its separation into parts for the 1607 release of Windows 10.

Variability

As an internal structure with little, if any, visibility outside the kernel, the MMWSL_INSTANCE varies greatly between versions and even between builds.

VersionSize (x86)Size (x64)
16070xD40x01A0
1703 to 20040x180x28

Layout

These sizes, and the names, offsets and types in the tables that follow, are from Microsoft’s symbol files for the kernel.

Offset (x86)Offset (x64)DefinitionVersionsRemarks
0x000x00ULONG_PTR NextSlot;1607 onlypreviously at 0x0C and 0x18 in MMWSL
MMPTE *NextPteToTrim;1703 and higher
0x040x08ULONG_PTR NextAgingSlot;1607 onlypreviously at 0x14 and 0x28 in MMWSL
MMPTE *NextPteToAge;1703 and higher
0x080x10ULONG_PTR NextAccessClearingSlot;1607 onlypreviously at 0x18 and 0x30 in MMWSL
MMPTE *NextPteToAccessClear;1703 and higher
0x0C0x18ULONG LastAccessClearingRemainder;1607 and higherpreviously at 0x1C and 0x38 in MMWSL
0x100x1CULONG LastAgingRemainder;1607 and higherpreviously at 0x20 and 0x3C in MMWSL
0x14 (1607)0x20 (1607)ULONG_PTR ActiveWsleCounts [0x10];1607 onlypreviously at 0x3C and 0x70 in MMWSL
0x54 (1607)0xA0 (1607)MI_ACTIVE_WSLE_LISTHEAD ActiveWsles [0x10];1607 onlypreviously at 0x7C and 0xF0 in MMWSL
0x140x20ULONG_PTR LockedEntries;1703 and higher

The MI_ACTIVE_WSLE_LISTHEAD has just Flink and Blink members that are each a ULONG_PTR.