author | edouard |
Sat, 13 Nov 2010 23:08:34 +0100 | |
changeset 633 | 2c43383a1d57 |
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 |