NtSetInformationVirtualMemory

Set → NTSTATUS

NtSetInformationVirtualMemory is a Windows NT kernel system call, in the Set category, returning NTSTATUS. Its syscall number is not the same on every Windows release: across the 40 version-and-architecture pairs recorded here it takes 23 distinct values, from 0x00C9 to 0x01B0.

The number is an index into the system service table of one particular build, not a stable identifier, so it is not portable between Windows versions or between x64 and x86. The table below gives the value recorded for each.

Numbers across OS versions (40)

OS VersionArchitectureNumber
Windows 10 1507 x86 0x00CE (206)
Windows 10 1507 x64 0x0182 (386)
Windows 10 1511 x86 0x00CE (206)
Windows 10 1511 x64 0x0185 (389)
Windows 10 1607 x86 0x00D0 (208)
Windows 10 1607 x64 0x018B (395)
Windows 10 1703 x86 0x00D2 (210)
Windows 10 1703 x64 0x0191 (401)
Windows 10 1709 x64 0x0194 (404)
Windows 10 1709 x86 0x00D4 (212)
Windows 10 1803 x86 0x00D4 (212)
Windows 10 1803 x64 0x0196 (406)
Windows 10 1809 x64 0x0197 (407)
Windows 10 1809 x86 0x00D4 (212)
Windows 10 1903 x64 0x0198 (408)
Windows 10 1903 x86 0x00D4 (212)
Windows 10 1909 x86 0x00D4 (212)
Windows 10 1909 x64 0x0198 (408)
Windows 10 2004 x86 0x00D4 (212)
Windows 10 2004 x64 0x019E (414)
Windows 10 20H2 x64 0x019E (414)
Windows 10 20H2 x86 0x00D4 (212)
Windows 10 21H1 x64 0x019E (414)
Windows 10 21H1 x86 0x00D4 (212)
Windows 10 21H2 x64 0x01A0 (416)
Windows 10 21H2 x86 0x00D4 (212)
Windows 10 22H2 x86 0x00D4 (212)
Windows 10 22H2 x64 0x01A0 (416)
Windows 11 and Server 11 21H2 x64 0x01A9 (425)
Windows 11 and Server 11 22H2 x64 0x01AD (429)
Windows 11 and Server 11 23H2 x64 0x01AD (429)
Windows 11 and Server 11 24H2 x64 0x01B0 (432)
Windows 11 and Server 11 25H2 x64 0x01B0 (432)
Windows 11 and Server Server 2022 x64 0x01A6 (422)
Windows 11 and Server Server 2025 x64 0x01B0 (432)
Windows 11 and Server Server 23H2 x64 0x01AF (431)
Windows 8 8.0 x86 0x00C9 (201)
Windows 8 8.0 x64 0x0177 (375)
Windows 8 8.1 x86 0x00CC (204)
Windows 8 8.1 x64 0x017A (378)