PostQuitMessage3w
Usage
void PostQuitMessage
(
INT exit_code
)
Overview
Posts a quit message to the current thread's message queue.
Params
exit_code [In] Exit code to return from message loop.
Returns
Nothing.
Notes
This function is not the same as calling:
PostThreadMessage(GetCurrentThreadId(), WM_QUIT, exit_code, 0);
It instead sets a flag in the message queue that signals it to generate a WM_QUIT message when there are no other pending sent or posted messages in the queue.
Implementation
Declared in "winuser.h".
Implemented in "dlls/user32/message.c".
Debug channel "msg".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.