DllMain.cpp
Go to the documentation of this file.
1 /*
2  * DllMain.cpp
3  *
4  * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
5  * Copyright 2000, Bastiaan Bakker. All rights reserved.
6  *
7  * See the COPYING file for the terms of usage and distribution.
8  */
9 
10 #ifdef LOG4CPP_SUPPLY_DLLMAIN
11 
12 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
13 #include <windows.h>
14 
15 BOOL APIENTRY DllMain( HANDLE hModule,
16  DWORD ul_reason_for_call,
17  LPVOID lpReserved
18  )
19 {
20  switch (ul_reason_for_call)
21  {
22  case DLL_PROCESS_ATTACH:
23  case DLL_THREAD_ATTACH:
24  case DLL_THREAD_DETACH:
25  case DLL_PROCESS_DETACH:
26  break;
27  }
28  return TRUE;
29 }
30 
31 #endif // LOG4CPP_NEED_DLLMAIN


log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:10:00