How to use the Windows API in MinGW?

SomeUser picture SomeUser · Oct 10, 2009 · Viewed 35.5k times · Source

How to use the Windows API in MinGW?

Answer

Greg Hewgill picture Greg Hewgill · Oct 11, 2009

Whenever I've done this, I just

#include <windows.h>

and start coding. MinGW comes with a windows.h file so you don't need to do anything extra.