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());