Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifdef LOG4CPP_SUPPLY_DLLMAIN
00011
00012 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
00013 #include <windows.h>
00014
00015 BOOL APIENTRY DllMain( HANDLE hModule,
00016 DWORD ul_reason_for_call,
00017 LPVOID lpReserved
00018 )
00019 {
00020 switch (ul_reason_for_call)
00021 {
00022 case DLL_PROCESS_ATTACH:
00023 case DLL_THREAD_ATTACH:
00024 case DLL_THREAD_DETACH:
00025 case DLL_PROCESS_DETACH:
00026 break;
00027 }
00028 return TRUE;
00029 }
00030
00031 #endif // LOG4CPP_NEED_DLLMAIN