author | Christian Taedcke |
Fri, 28 Jan 2011 14:51:18 +0100 | |
changeset 657 | c0e68a63f600 |
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 |