WM_QUIT top-level constant
int
const WM_QUIT
Indicates a request to terminate an application, and is generated when the application calls the PostQuitMessage function.
This message causes the GetMessage function to return zero.
To learn more, see learn.microsoft.com/windows/win32/winmsg/wm-quit.
Implementation
const WM_QUIT = 18;