void HandlerCloseEvent(int nSignalNum) { CGameService::GetInstancePtr()->StopService(); ComEvent.SetEvent(); return ; }
BOOL WINAPI HandlerCloseEvent(DWORD dwCtrlType) { if(dwCtrlType == CTRL_CLOSE_EVENT) { ComEvent.SetEvent(); } return FALSE; }
BOOL WINAPI HandlerCloseEvent(DWORD dwCtrlType) { if(dwCtrlType == CTRL_CLOSE_EVENT) { CGameService::GetInstancePtr()->StopService(); ComEvent.SetEvent(); } return FALSE; }