PostQuitMessage (USER32.@)
void PostQuitMessage ( INT exit_code )
Posts a quit message to the current thread's message queue.
exit_code | [In] | Exit code to return from message loop. |
Nothing.
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.
Declared in "include/wine/winuser16.h". gitlab.winehq.org/wine/wine/blob/master/include/wine/winuser16.h
Implemented in "dlls/user32/message.c". gitlab.winehq.org/wine/wine/blob/master/dlls/user32/message.c
Debug channel "msg".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.