NtQueueApcThreadEx2
Other → NTSTATUS
NtQueueApcThreadEx2 is a Windows NT kernel system call, in the Other category, returning NTSTATUS. Its syscall number is not the same on every Windows release: across the 12 version-and-architecture pairs recorded here it takes 7 distinct values, from 0x0167 to 0x01D8.
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 (12)
| OS Version | Architecture | Number |
|---|---|---|
| Windows 10 21H2 | x64 | 0x0167 (359) |
| Windows 10 21H2 | x86 | 0x01D8 (472) |
| Windows 10 22H2 | x86 | 0x01D8 (472) |
| Windows 10 22H2 | x64 | 0x0167 (359) |
| Windows 11 and Server 11 21H2 | x64 | 0x016E (366) |
| Windows 11 and Server 11 22H2 | x64 | 0x0171 (369) |
| Windows 11 and Server 11 23H2 | x64 | 0x0171 (369) |
| Windows 11 and Server 11 24H2 | x64 | 0x0173 (371) |
| Windows 11 and Server 11 25H2 | x64 | 0x0173 (371) |
| Windows 11 and Server Server 2022 | x64 | 0x016C (364) |
| Windows 11 and Server Server 2025 | x64 | 0x0173 (371) |
| Windows 11 and Server Server 23H2 | x64 | 0x0172 (370) |