Jinoh Kang (@iamahuman) commented about dlls/ntdll/ntdll.spec:
@ stdcall -syscall NtDeleteValueKey(long ptr) @ stdcall -syscall NtDeviceIoControlFile(long long ptr ptr ptr long ptr long ptr long) @ stdcall -syscall NtDisplayString(ptr) +@ stdcall NtdllDefWindowProc_A(long long long long)
Instead of implementing it as a stub, you can scrub the implementation and just use forwarders instead.[^1][^2]
```suggestion:-0+0 @ stdcall NtdllDefWindowProc_A(long long long long) user32.DefWindowProcA ```
[^1]: [Exported functions that are really forwarders - The Old New Thing](https://devblogs.microsoft.com/oldnewthing/20060719-24/?p=30473) [^2]: [DLL forwarding is not the same as delay-loading - The Old New Thing](https://devblogs.microsoft.com/oldnewthing/20080204-00/?p=23593)