On Tue Mar 5 14:55:56 2024 +0000, Jinoh Kang wrote:
Instead of implementing it as a stub, you can scrub the implementation and just use forwarders instead.[^1][^2]
@ 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)
Unfortunately using this method doesn't work in this case (I get `0158:err:seh:dispatch_user_callback ignoring exception c0000005` when that function gets called)