MCPcopy Create free account
hub / github.com/Binject/universal / DllMain

Function DllMain

test/src/TestDLL/TestDLL/dllmain.cpp:4–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "pch.h"
3
4BOOL 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 case DLL_THREAD_DETACH:
14 case DLL_PROCESS_DETACH:
15 break;
16 }
17 return TRUE;
18}
19

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…