Defines the entry point for the DLL application.
More...
#include "pch.h"
|
| BOOL APIENTRY | DllMain (HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) |
| | Dll Main Entry.
|
| |
Defines the entry point for the DLL application.
- Author
- Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
- Version
- 0.1
- Date
- 2020-04-11
- Copyright
- This project is released under the GNU Public License v3.
◆ DllMain()
| BOOL APIENTRY DllMain |
( |
HMODULE | hModule, |
|
|
DWORD | ul_reason_for_call, |
|
|
LPVOID | lpReserved ) |
Dll Main Entry.
- Parameters
-
| hModule | |
| ul_reason_for_call | |
| lpReserved | |
- Returns
- BOOL DllMain
24{
25 switch (ul_reason_for_call)
26 {
27 case DLL_PROCESS_ATTACH:
28 case DLL_THREAD_ATTACH:
29 case DLL_THREAD_DETACH:
30 case DLL_PROCESS_DETACH:
31 break;
32 }
34}
#define TRUE
Definition BasicTypes.h:55