From 75801f095db38c5c1dfecbd8d70ad14994484b56 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Fri, 21 Jan 2011 14:17:22 +0100 Subject: [PATCH] ole32: Handle alertable wait in CoWaitForMultipleHandles. --- dlls/ole32/compobj.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index ad338bd7898..5dadb18eea7 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());