1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#define WIN32_LEAN_AND_MEAN #include <windows.h> BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD reason, LPVOID lpReserved) { switch(reason) { case DLL_PROCESS_ATTACH: break; case DLL_THREAD_DETACH: break; case DLL_PROCESS_DETACH: break; } return TRUE; }