mirror of
https://github.com/x64dbg/ScyllaHide
synced 2026-06-08 18:22:18 +00:00
de2ed335d8
Don't call DllMain on each DLL (un)load
9 lines
220 B
C++
9 lines
220 B
C++
#include <ntdll/ntdll.h>
|
|
|
|
#pragma comment(linker, "/ENTRY:DllMain")
|
|
|
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|
{
|
|
LdrDisableThreadCalloutsForDll(hinstDLL);
|
|
return TRUE;
|
|
} |