DllMain.cpp
Go to the documentation of this file.
00001 /*
00002  * DllMain.cpp
00003  *
00004  * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
00005  * Copyright 2000, Bastiaan Bakker. All rights reserved.
00006  *
00007  * See the COPYING file for the terms of usage and distribution.
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


log4cpp
Author(s): Stephen Roderick
autogenerated on Mon Oct 6 2014 03:13:14