NtReleaseSemaphore
Other → NTSTATUS
NtReleaseSemaphore 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 81 version-and-architecture pairs recorded here it takes 18 distinct values, from 0x0007 to 0x011D.
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 (81)
| OS Version | Architecture | Number |
|---|---|---|
| Windows 10 1507 | x64 | 0x000A (10) |
| Windows 10 1507 | x86 | 0x0080 (128) |
| Windows 10 1511 | x86 | 0x0080 (128) |
| Windows 10 1511 | x64 | 0x000A (10) |
| Windows 10 1607 | x86 | 0x0081 (129) |
| Windows 10 1607 | x64 | 0x000A (10) |
| Windows 10 1703 | x86 | 0x0081 (129) |
| Windows 10 1703 | x64 | 0x000A (10) |
| Windows 10 1709 | x86 | 0x0082 (130) |
| Windows 10 1709 | x64 | 0x000A (10) |
| Windows 10 1803 | x64 | 0x000A (10) |
| Windows 10 1803 | x86 | 0x0082 (130) |
| Windows 10 1809 | x64 | 0x000A (10) |
| Windows 10 1809 | x86 | 0x0082 (130) |
| Windows 10 1903 | x86 | 0x0082 (130) |
| Windows 10 1903 | x64 | 0x000A (10) |
| Windows 10 1909 | x64 | 0x000A (10) |
| Windows 10 1909 | x86 | 0x0082 (130) |
| Windows 10 2004 | x64 | 0x000A (10) |
| Windows 10 2004 | x86 | 0x0082 (130) |
| Windows 10 20H2 | x86 | 0x0082 (130) |
| Windows 10 20H2 | x64 | 0x000A (10) |
| Windows 10 21H1 | x86 | 0x0082 (130) |
| Windows 10 21H1 | x64 | 0x000A (10) |
| Windows 10 21H2 | x86 | 0x0082 (130) |
| Windows 10 21H2 | x64 | 0x000A (10) |
| Windows 10 22H2 | x86 | 0x0082 (130) |
| Windows 10 22H2 | x64 | 0x000A (10) |
| Windows 11 and Server 11 21H2 | x64 | 0x000A (10) |
| Windows 11 and Server 11 22H2 | x64 | 0x000A (10) |
| Windows 11 and Server 11 23H2 | x64 | 0x000A (10) |
| Windows 11 and Server 11 24H2 | x64 | 0x000A (10) |
| Windows 11 and Server 11 25H2 | x64 | 0x000A (10) |
| Windows 11 and Server Server 2022 | x64 | 0x000A (10) |
| Windows 11 and Server Server 2025 | x64 | 0x000A (10) |
| Windows 11 and Server Server 23H2 | x64 | 0x000A (10) |
| Windows 2000 SP0 | x86 | 0x00A7 (167) |
| Windows 2000 SP1 | x86 | 0x00A7 (167) |
| Windows 2000 SP2 | x86 | 0x00A7 (167) |
| Windows 2000 SP3 | x86 | 0x00A7 (167) |
| Windows 2000 SP4 | x86 | 0x00A7 (167) |
| Windows 7 SP0 | x64 | 0x0007 (7) |
| Windows 7 SP0 | x86 | 0x011D (285) |
| Windows 7 SP1 | x64 | 0x0007 (7) |
| Windows 7 SP1 | x86 | 0x011D (285) |
| Windows 8 8.0 | x64 | 0x0008 (8) |
| Windows 8 8.0 | x86 | 0x007B (123) |
| Windows 8 8.1 | x86 | 0x007E (126) |
| Windows 8 8.1 | x64 | 0x0009 (9) |
| Windows NT 3.x 3.1 | x86 | 0x0078 (120) |
| Windows NT 3.x 3.5 | x86 | 0x007E (126) |
| Windows NT 3.x 3.51 | x86 | 0x0084 (132) |
| Windows NT 4.0 SP0 | x86 | 0x008B (139) |
| Windows NT 4.0 SP1 | x86 | 0x008B (139) |
| Windows NT 4.0 SP2 | x86 | 0x008C (140) |
| Windows NT 4.0 SP3 | x86 | 0x008C (140) |
| Windows NT 4.0 SP3 TSE | x86 | 0x008C (140) |
| Windows NT 4.0 SP4 | x86 | 0x008C (140) |
| Windows NT 4.0 SP5 | x86 | 0x008C (140) |
| Windows NT 4.0 SP6 | x86 | 0x008C (140) |
| Windows Server 2003 R2 | x86 | 0x00C5 (197) |
| Windows Server 2003 R2 | x64 | 0x0007 (7) |
| Windows Server 2003 R2 SP2 | x86 | 0x00C5 (197) |
| Windows Server 2003 R2 SP2 | x64 | 0x0007 (7) |
| Windows Server 2003 SP0 | x64 | 0x0007 (7) |
| Windows Server 2003 SP0 | x86 | 0x00C5 (197) |
| Windows Server 2003 SP1 | x86 | 0x00C5 (197) |
| Windows Server 2003 SP2 | x86 | 0x00C5 (197) |
| Windows Server 2003 SP2 | x64 | 0x0007 (7) |
| Windows Vista SP0 | x64 | 0x0007 (7) |
| Windows Vista SP0 | x86 | 0x0108 (264) |
| Windows Vista SP1 | x86 | 0x0108 (264) |
| Windows Vista SP1 | x64 | 0x0007 (7) |
| Windows Vista SP2 | x64 | 0x0007 (7) |
| Windows Vista SP2 | x86 | 0x0108 (264) |
| Windows XP SP0 | x86 | 0x00BD (189) |
| Windows XP SP1 | x86 | 0x00BD (189) |
| Windows XP SP1 | x64 | 0x0007 (7) |
| Windows XP SP2 | x86 | 0x00BD (189) |
| Windows XP SP2 | x64 | 0x0007 (7) |
| Windows XP SP3 | x86 | 0x00BD (189) |