On Fri Aug 8 16:09:15 2025 +0000, Bernhard Übelacker wrote:
This is with winver showing `Windows 7 Version 6.1 (Build 7601: Service pack 1)`:
C:\temp>ntdll_test.exe virtual virtual.c:3293: system page size 0x1000 virtual.c:313: Tests skipped: NtAllocateVirtualMemoryEx() is missing virtual.c:722: Tests skipped: NtAllocateVirtualMemoryEx() is missing virtual.c:1692: Tests skipped: NtMapViewOfSectionEx() is not supported. virtual.c:2516: Tests skipped: no NtSetInformationVirtualMemory in ntdll virtual.c:2033: XState EnabledFeatures 0xf9d20000, EnabledSupervisorFeatures 0, EnabledVolatileFeatures 3. virtual.c:2038: Test failed: Got unexpected feature_mask 3. virtual.c:2041: Test failed: Got unexpected feature_mask 3. virtual.c:2043: Test failed: Got unexpected EnabledFeatures f9d20000. virtual.c:2045: Test failed: Got unexpected EnabledVolatileFeatures 3. virtual.c:2047: Test failed: Got unexpected Size 576. virtual.c:2062: Test failed: Got unexpected Features[2].Size 4294965248, expected 256. virtual.c:2064: Test failed: Got unexpected Features[2].Offset 66592992, expected 576. virtual.c:2165: Tests skipped: RtlFindExportedRoutineByName not supported virtual.c:2748: Tests skipped: MemoryImageInformation not supported 0b58:virtual: 1 tests executed (0 marked as todo, 0 as flaky, 0 failures), 0 skipped. 0b8c:virtual: 2061 tests executed (0 marked as todo, 0 as flaky, 7 failures), 6 skipped.
Above was directly after the big SP1 update. Now after having installed all updates from a wsus-offline folder from 2016 it still shows `Windows 7 Version 6.1 (Build 7601: Service pack 1):`, but now the output is much shorter and especially the `Old structure layout.` path is now taken. (Below is with having the trace copied into that if block.) ``` C:\temp> ntdll_test.exe virtual virtual.c:3319: system page size 0x1000 virtual.c:313: Tests skipped: NtAllocateVirtualMemoryEx() is missing virtual.c:722: Tests skipped: NtAllocateVirtualMemoryEx() is missing virtual.c:1692: Tests skipped: NtMapViewOfSectionEx() is not supported. virtual.c:2518: Tests skipped: no NtSetInformationVirtualMemory in ntdll virtual.c:2029: XState EnabledFeatures 0, EnabledSupervisorFeatures 0, EnabledVolatileFeatures 3. virtual.c:2031: Tests skipped: Old structure layout. virtual.c:2167: Tests skipped: RtlFindExportedRoutineByName not supported virtual.c:2750: Tests skipped: MemoryImageInformation not supported 09b8:virtual: 1 tests executed (0 marked as todo, 0 as flaky, 0 failures), 0 skipped. 0bd8:virtual: 2043 tests executed (0 marked as todo, 0 as flaky, 0 failures), 7 skipped.```