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 {
20switch (ul_reason_for_call)
21 {
22case DLL_PROCESS_ATTACH:
23case DLL_THREAD_ATTACH:
24case DLL_THREAD_DETACH:
25case DLL_PROCESS_DETACH:
26break;
27 }
28return 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:14:17