int = PumpWaitingMessages()
Pumps all waiting messages for the current thread.
CommentsIt is sometimes necessary for a COM thread to have a message loop. This function can be used with win32event::MsgWaitForMultipleObjects to pump all messages when necessary. Please see the COM documentation for more details.
Win32 API References
Return ValueReturns 1 if a WM_QUIT message was received, else 0