HyperDbg Debugger
Loading...
Searching...
No Matches
dllmain.cpp File Reference

Defines the entry point for the DLL application. More...

#include "pch.h"

Functions

BOOL APIENTRY DllMain (HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
 Dll Main Entry.
 

Detailed Description

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

Function Documentation

◆ 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 }
33 return TRUE;
34}
#define TRUE
Definition BasicTypes.h:55