//ME_SYSTEM_PRESHUTDOWN event //called before the app goes into shutdown routine to make sure everyone is happy to exit static int OkToExit(WPARAM, LPARAM) { closing = TRUE; StopPopupThread(); return 0; }
//ME_SYSTEM_OKTOEXIT event //called before the app goes into shutdown routine to make sure everyone is happy to exit static int OkToExit(WPARAM wParam, LPARAM lParam) { closing = TRUE; StopPopupThread(); return 0; }