Skip to content

DominikGrabiec/WindowsHeader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Languages