NtQuerySystemInformationEx

Query → NTSTATUS

NtQuerySystemInformationEx is a Windows NT kernel system call, in the Query category, returning NTSTATUS. Its syscall number is not the same on every Windows release: across the 44 version-and-architecture pairs recorded here it takes 25 distinct values, from 0x0094 to 0x016E.

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 (44)

OS VersionArchitectureNumber
Windows 10 1507 x64 0x0147 (327)
Windows 10 1507 x86 0x0099 (153)
Windows 10 1511 x86 0x0099 (153)
Windows 10 1511 x64 0x014A (330)
Windows 10 1607 x86 0x009A (154)
Windows 10 1607 x64 0x014E (334)
Windows 10 1703 x86 0x009B (155)
Windows 10 1703 x64 0x0154 (340)
Windows 10 1709 x86 0x009C (156)
Windows 10 1709 x64 0x0157 (343)
Windows 10 1803 x64 0x0159 (345)
Windows 10 1803 x86 0x009C (156)
Windows 10 1809 x86 0x009C (156)
Windows 10 1809 x64 0x015A (346)
Windows 10 1903 x86 0x009C (156)
Windows 10 1903 x64 0x015B (347)
Windows 10 1909 x86 0x009C (156)
Windows 10 1909 x64 0x015B (347)
Windows 10 2004 x86 0x009C (156)
Windows 10 2004 x64 0x0161 (353)
Windows 10 20H2 x64 0x0161 (353)
Windows 10 20H2 x86 0x009C (156)
Windows 10 21H1 x64 0x0161 (353)
Windows 10 21H1 x86 0x009C (156)
Windows 10 21H2 x86 0x009C (156)
Windows 10 21H2 x64 0x0162 (354)
Windows 10 22H2 x86 0x009C (156)
Windows 10 22H2 x64 0x0162 (354)
Windows 11 and Server 11 21H2 x64 0x0169 (361)
Windows 11 and Server 11 22H2 x64 0x016C (364)
Windows 11 and Server 11 23H2 x64 0x016C (364)
Windows 11 and Server 11 24H2 x64 0x016E (366)
Windows 11 and Server 11 25H2 x64 0x016E (366)
Windows 11 and Server Server 2022 x64 0x0167 (359)
Windows 11 and Server Server 2025 x64 0x016E (366)
Windows 11 and Server Server 23H2 x64 0x016D (365)
Windows 7 SP0 x64 0x012C (300)
Windows 7 SP0 x86 0x0106 (262)
Windows 7 SP1 x86 0x0106 (262)
Windows 7 SP1 x64 0x012C (300)
Windows 8 8.0 x64 0x013E (318)
Windows 8 8.0 x86 0x0094 (148)
Windows 8 8.1 x64 0x0141 (321)
Windows 8 8.1 x86 0x0097 (151)