MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / DllMain

Function DllMain

src/render/plugin_interface/gr_plugin_interface.cpp:22–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21#ifdef WIN32
22 BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
23 switch (ul_reason_for_call) {
24 case DLL_PROCESS_ATTACH:
25 LOGI("Attach to process.");
26 break;
27 case DLL_THREAD_ATTACH:
28 //LOGI("Attach to thread: {}", GetCurrentThreadId());
29 break;
30 case DLL_THREAD_DETACH:
31 //LOGI("Detach from thread: {}", GetCurrentThreadId());
32 break;
33 case DLL_PROCESS_DETACH:
34 break;
35 }
36 return TRUE;
37 }
38#endif
39}
40

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected