win32gui.PumpWaitingMessages

int = PumpWaitingMessages()

Pumps all waiting messages for the current thread.

See Also

win32gui::PumpMessages

Win32 API References

Search for PeekMessage and DispatchMessage at msdn, google or google groups.

Return Value

Returns non-zero (exit code from PostQuitMessage) if a WM_QUIT message was received, else 0