/WindowsHeader

Windows.h file which undefines the macros wrapping A and W Win32 API functions

Primary LanguageC++The UnlicenseUnlicense

WindowsHeader

A simple header file to include instead of including <windows.h> directly.

This header file sets some defines, #include <windows.h>, and then #undefs the Win32 API macros that switch between the A and W version of the functions.

Need to include this header file before including other dependencies because they might themselves #include <windows.h>.

See this blog article for reasoning and motivation.