microsoft / microsoft/win32metadata

CallEnclave/TerminateEnclave no longer present in kernel32

Open
#2,127 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

Tested on 25H2 10.0.26220.6760:

```
C:\Windows\System32>dumpbin /exports kernel32.dll | findstr /i TerminateEnclave

C:\Windows\System32>dumpbin /exports kernel32.dll | findstr /i CallEnclave

// api-ms-win-core-enclave-l1-1-1.dll -> s{kernelbase.dll}

C:\Windows\System32>dumpbin /exports kernelbase.dll | findstr /i TerminateEnclave
1805 70C 0018AF70 TerminateEnclave

C:\Windows\System32>dumpbin /exports kernelbase.dll | findstr /i CallEnclave
118 72 00102410 CallEnclave
```

Docs claim otherwise.
https://learn.microsoft.com/en-us/windows/win32/api/enclaveapi/nf-enclaveapi-terminateenclave

Contributor guide

Open the contributing guide

Research direction

Start by comparing the Win32 metadata for CallEnclave and TerminateEnclave with the kernel32.dll and kernelbase.dll exports reported for Windows 25H2. Check how the enclaveapi definitions are sourced and generated; done means the metadata accurately reflects the observed API availability and the linked documentation discrepancy is resolved or clearly represented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.