Skip to content
Snippets Groups Projects
Commit 8c7706ba authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard
Browse files

ole32: Don't process posted messages in CoWaitForMultipleHandles.

Tests with native show that during COM calls posted messages aren't
retrieved other than COM calls so change the PeekMessage parameters in
CoWaitForMultipleHandles to duplicate this.
parent ff85f892
Branches
Tags wine-960616
No related merge requests found
......@@ -2647,8 +2647,8 @@ static BOOL COM_PeekMessage(struct apartment *apt, MSG *msg)
{
/* first try to retrieve messages for incoming COM calls to the apartment window */
return PeekMessageW(msg, apt->win, WM_USER, WM_APP - 1, PM_REMOVE|PM_NOYIELD) ||
/* next retrieve all other messages */
PeekMessageW(msg, NULL, 0, 0, PM_REMOVE|PM_NOYIELD);
/* next retrieve other messages necessary for the app to remain responsive */
PeekMessageW(msg, NULL, 0, WM_USER - 1, PM_REMOVE|PM_NOYIELD);
}
/***********************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment