PostQuitMessage function user32
Indicates to the system that a thread has made a request to terminate (quit). It is typically used in response to a WM_DESTROY message.
void PostQuitMessage(
int nExitCode
);
Implementation
void PostQuitMessage(int nExitCode) => _PostQuitMessage(nExitCode);