1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#define WIN32_LEAN_AND_MEAN #define NOGDI #define NOUSER #define NOKERNEL #define NOSOUND #define BLENDFUNCTION void // for mingw & gcc #include <windows.h> BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; }