.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH PostQuitMessage 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBPostQuitMessage\fR (USER32.@) .SH SYNOPSIS void PostQuitMessage ( INT \fIexit_code\fR ) .SH DESCRIPTION .PP Posts a quit message to the current thread's message queue. .SH PARAMS \fIexit_code\fR \fB[In]\fR Exit code to return from message loop. .PP .SH RETURNS .PP Nothing. .SH NOTES .PP This function is not the same as calling: .br PostThreadMessage(GetCurrentThreadId(), WM_QUIT, exit_code, 0); .PP It instead sets a flag in the message queue that signals it to generate a \fBWM_QUIT\fR message when there are no other pending sent or posted messages in the queue. .SH IMPLEMENTATION .PP Declared in \fB"winuser.h"\fR. .PP Implemented in \fB"dlls/user32/message.c"\fR. .PP Debug channel \fB"msg"\fR.