https://learn.microsoft.com/en-us/windows/win32/api/windowsx...
However still painful versus the C++, Delphi, VB alternatives.