author | Christian Taedcke <Christian.Taedcke@ica-traffic.de> |
Fri, 19 Feb 2010 08:18:40 +0100 | |
changeset 639 | 27c0a025acf3 |
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 |