MCPcopy Create free account
hub / github.com/NaniteFactory/hookwin10calc / MyThreadFunction

Function MyThreadFunction

dllmain.h:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9} MyThreadParams;
10
11DWORD WINAPI MyThreadFunction(LPVOID lpParam) {
12 MyThreadParams params = *((MyThreadParams*)lpParam);
13 OnProcessAttach(params.hinstDLL, params.fdwReason, params.lpReserved);
14 free(lpParam);
15 return 0;
16}
17
18BOOL WINAPI DllMain(
19 HINSTANCE _hinstDLL, // handle to DLL module

Callers

nothing calls this directly

Calls 1

OnProcessAttachFunction · 0.85

Tested by

no test coverage detected