Ends the calling thread.
void ExitThread( DWORD dwExitCode );
void ExitThread(int dwExitCode) => _ExitThread(dwExitCode);