NingSun | 0c89b3c | 2018-02-08 08:34:03 -0800 | [diff] [blame] | 1 | #include <windows.h> |
2 | |||||
3 | __declspec(dllexport) BOOL WINAPI | ||||
4 | DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpvReserved) | ||||
5 | { | ||||
6 | hModule = hModule; | ||||
7 | lpvReserved = lpvReserved; | ||||
8 | |||||
9 | switch (ul_reason_for_call) { | ||||
10 | case DLL_PROCESS_ATTACH: | ||||
11 | case DLL_THREAD_ATTACH: | ||||
12 | case DLL_THREAD_DETACH: | ||||
13 | case DLL_PROCESS_DETACH: | ||||
14 | default: | ||||
15 | break; | ||||
16 | } | ||||
17 | return (TRUE); | ||||
18 | } |