PostQuitMessage The PostQuitMessage function indicates to Windows that a thread has made a request to terminate (quit). It is typically used in response to a WM_DESTROY message.
VB4-32,5,6
Declare Sub PostQuitMessage Lib "user32" Alias "PostQuitMessage" (ByVal nExitCode As Long) |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- nExitCode
Specifies an application exit code. This value is used as the wParam parameter of the WM_QUIT message. |
This function does not return a value. |
|