Exemplo n.º 1
0
// Passed to CreateThread to monitor the shutdown event
static DWORD WINAPI MonitorProc(void* pv)
{
	CExeModule* p = (CExeModule*)pv;
	p->MonitorShutdown();
	return 0;
}