NtTerminateEnclave

Other → NTSTATUS

NtTerminateEnclave 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 28 version-and-architecture pairs recorded here it takes 12 distinct values, from 0x0026 to 0x01D1.

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

OS VersionArchitectureNumber
Windows 10 1709 x64 0x01B4 (436)
Windows 10 1709 x86 0x0026 (38)
Windows 10 1803 x64 0x01B6 (438)
Windows 10 1803 x86 0x0026 (38)
Windows 10 1809 x86 0x0026 (38)
Windows 10 1809 x64 0x01B7 (439)
Windows 10 1903 x64 0x01B8 (440)
Windows 10 1903 x86 0x0026 (38)
Windows 10 1909 x64 0x01B8 (440)
Windows 10 1909 x86 0x0026 (38)
Windows 10 2004 x86 0x0026 (38)
Windows 10 2004 x64 0x01BE (446)
Windows 10 20H2 x64 0x01BE (446)
Windows 10 20H2 x86 0x0026 (38)
Windows 10 21H1 x64 0x01BE (446)
Windows 10 21H1 x86 0x0026 (38)
Windows 10 21H2 x86 0x0026 (38)
Windows 10 21H2 x64 0x01C0 (448)
Windows 10 22H2 x86 0x0026 (38)
Windows 10 22H2 x64 0x01C0 (448)
Windows 11 and Server 11 21H2 x64 0x01CA (458)
Windows 11 and Server 11 22H2 x64 0x01CE (462)
Windows 11 and Server 11 23H2 x64 0x01CE (462)
Windows 11 and Server 11 24H2 x64 0x01D1 (465)
Windows 11 and Server 11 25H2 x64 0x01D1 (465)
Windows 11 and Server Server 2022 x64 0x01C6 (454)
Windows 11 and Server Server 2025 x64 0x01D1 (465)
Windows 11 and Server Server 23H2 x64 0x01D0 (464)