| 9 | } MyThreadParams; |
| 10 | |
| 11 | DWORD 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 | |
| 18 | BOOL WINAPI DllMain( |
| 19 | HINSTANCE _hinstDLL, // handle to DLL module |
nothing calls this directly
no test coverage detected