On Thu Mar 21 16:00:14 2024 +0000, Nikolay Sivov wrote:
Is there any evidence this is how it should work?
No. On Windows it works completely differently: https://stackoverflow.com/questions/30871183/getprocaddressgetmodulehandleuser32-dll-defwindowprocw-returns-address.
IMHO this is a good enough approximation until we can refactor user32 to move DefWindowProc to ntdll.