HyperDbg/hyperdbg/libhyperdbg/code/app/dllmain.cpp
2024-06-24 18:05:54 +09:00

34 lines
682 B
C++

/**
* @file dllmain.cpp
* @author Sina Karvandi (sina@hyperdbg.org)
* @brief Defines the entry point for the DLL application
* @details
* @version 0.1
* @date 2020-04-11
*
* @copyright This project is released under the GNU Public License v3.
*
*/
#include "pch.h"
/**
* @brief Dll Main Entry
*
* @param hModule
* @param ul_reason_for_call
* @param lpReserved
* @return BOOL DllMain
*/
BOOL APIENTRY
DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}