author | Laurent Bessard |
Wed, 27 Feb 2013 13:13:12 +0100 | |
changeset 766 | 206a90c0d343 |
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 |