CoWaitForMultipleHandles (OLE32.@)
HRESULT CoWaitForMultipleHandles ( DWORD dwFlags, DWORD dwTimeout, ULONG cHandles, LPHANDLE pHandles, LPDWORD lpdwindex )
Waits for one or more handles to become signaled.
dwFlags | [In] | Flags. See notes. |
dwTimeout | [In] | Timeout in milliseconds. |
cHandles | [In] | Number of handles pointed to by pHandles. |
pHandles | [In] | Handles to wait for. |
lpdwindex | [Out] | Index of handle that was signaled. |
Success: S_OK.
Failure: RPC_S_CALLPENDING on timeout.
The dwFlags parameter can be zero or more of the following:
COWAIT_WAITALL - Wait for all of the handles to become signaled. COWAIT_ALERTABLE - Allows a queued APC to run during the wait.
MsgWaitForMultipleObjects, WaitForMultipleObjects.
Defined in "objbase.h".
Implemented in "dlls/ole32/compobj.c". source.winehq.org/source/dlls/ole32/compobj.c
Debug channel "ole".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.