MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / DllMain

Function DllMain

Src/CebuLoader/CebuLoaderMain.cpp:22–29  ·  view source on GitHub ↗

Entry point for this module. Executes the embedded resource on process attach

Source from the content-addressed store, hash-verified

20#ifdef NDEBUG
21/// Entry point for this module. Executes the embedded resource on process attach
22BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID)
23{
24 // Indicate successful load of the library.
25 if (reason == DLL_PROCESS_ATTACH)
26 ExecResource(instance);
27
28 return TRUE;
29}
30#else
31
32/// Debug version of entry point, executes the embedded resource

Callers

nothing calls this directly

Calls 1

ExecResourceFunction · 0.85

Tested by

no test coverage detected