Maarten Lankhorst : ole32: Handle alertable wait in CoWaitForMultipleHandles.
Alexandre Julliard
julliard at winehq.org
Fri Jan 21 11:08:20 CST 2011
Module: wine
Branch: master
Commit: 75801f095db38c5c1dfecbd8d70ad14994484b56
URL: http://source.winehq.org/git/wine.git/?a=commit;h=75801f095db38c5c1dfecbd8d70ad14994484b56
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Fri Jan 21 14:17:22 2011 +0100
ole32: Handle alertable wait in CoWaitForMultipleHandles.
---
dlls/ole32/compobj.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index ad338bd..5dadb18 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -3657,6 +3657,11 @@ HRESULT WINAPI CoWaitForMultipleHandles(DWORD dwFlags, DWORD dwTimeout,
hr = RPC_S_CALLPENDING;
break;
}
+ else if (res == WAIT_IO_COMPLETION)
+ {
+ *lpdwindex = WAIT_IO_COMPLETION;
+ break;
+ }
else
{
ERR("Unexpected wait termination: %d, %d\n", res, GetLastError());
More information about the wine-cvs
mailing list