void CGLWindow_X::DestroyWindow() { if ( m_created == false ) return; XDestroyWindow( m_display, m_window );//!! WaitForTerminate(); m_created = false; }
void main(int argc, char *argv[]) { SetConsoleTitle("Decompress - Lunar Compress DLL Example"); printf("Data Decompression Program Example Version 1.03\n"); printf("Programmed by FuSoYa, Defender of Relm\n"); printf("FuSoYa's Niche - http://fusoya.eludevisibility.org\n\n"); Decompress(argc,argv); WaitForTerminate(); }
void CEasyThread::SafeTerminate(DWORD Milliseconds) { Terminate(); if(!WaitForTerminate(Milliseconds)) ForceTerminate(); }