author | Edouard Tisserant |
Mon, 23 Apr 2018 12:32:03 +0200 | |
changeset 805 | 570e3a444023 |
parent 629 | b9274b595650 |
permissions | -rw-r--r-- |
629 | 1 |
// dllmain.cpp : Defines the entry point for the DLL application. |
2 |
#include "stdafx.h" |
|
3 |
||
4 |
BOOL APIENTRY DllMain( HMODULE hModule, |
|
5 |
DWORD ul_reason_for_call, |
|
6 |
LPVOID lpReserved |
|
7 |
) |
|
8 |
{ |
|
9 |
switch (ul_reason_for_call) |
|
10 |
{ |
|
11 |
case DLL_PROCESS_ATTACH: |
|
12 |
case DLL_THREAD_ATTACH: |
|
13 |
||
14 |
break; |
|
15 |
case DLL_THREAD_DETACH: |
|
16 |
case DLL_PROCESS_DETACH: |
|
17 |
||
18 |
break; |
|
19 |
} |
|
20 |
return TRUE; |
|
21 |
} |
|
22 |