Vincent Povirk : ole32: Process sent and DDE messages in CoWaitForMultipleHandles.
Alexandre Julliard
julliard at winehq.org
Wed May 20 08:29:33 CDT 2009
Module: wine
Branch: master
Commit: b49d541cb5cac205670c9baefb0672bd92ae1a88
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b49d541cb5cac205670c9baefb0672bd92ae1a88
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Fri May 15 13:35:25 2009 -0500
ole32: Process sent and DDE messages in CoWaitForMultipleHandles.
---
dlls/ole32/compobj.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 4440d77..154c18d 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -56,6 +56,7 @@
#include "ole2.h"
#include "ole2ver.h"
#include "ctxtcall.h"
+#include "dde.h"
#include "compobj_private.h"
@@ -3525,7 +3526,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 other messages necessary for the app to remain responsive */
- PeekMessageW(msg, NULL, 0, 0, PM_QS_PAINT|PM_QS_POSTMESSAGE|PM_REMOVE|PM_NOYIELD);
+ PeekMessageW(msg, NULL, WM_DDE_FIRST, WM_DDE_LAST, PM_REMOVE|PM_NOYIELD) ||
+ PeekMessageW(msg, NULL, 0, 0, PM_QS_PAINT|PM_QS_SENDMESSAGE|PM_REMOVE|PM_NOYIELD);
}
/***********************************************************************
More information about the wine-cvs
mailing list