MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / DllMain

Function DllMain

src/plugin/DllMain.cpp:18–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16void set_hmodule(HANDLE h_module_arg);
17
18bool APIENTRY DllMain(HANDLE h_module, DWORD reason_for_call,
19 LPVOID /*lpvReserved*/) {
20 switch (reason_for_call) {
21 case DLL_PROCESS_ATTACH:
22 set_hmodule(h_module);
23 break;
24
25 case DLL_PROCESS_DETACH:
26 //_CrtDumpMemoryLeaks();
27 break;
28
29 case DLL_THREAD_ATTACH:
30 break;
31
32 case DLL_THREAD_DETACH:
33 break;
34 }
35
36 return true;
37}

Callers

nothing calls this directly

Calls 1

set_hmoduleFunction · 0.85

Tested by

no test coverage detected