PostQuitMessage function user32

void PostQuitMessage(
  1. int nExitCode
)

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);