PostQuitMessage(3w)

NAME

PostQuitMessage (USER32.@)

SYNOPSIS

void PostQuitMessage
 (
  INT exit_code
 )

DESCRIPTION

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

Defined in "winuser.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/user32/message.c".

Debug channel "msg".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout