CoWaitForMultipleHandles3w
Usage
HRESULT CoWaitForMultipleHandles
(
DWORD dwFlags,
DWORD dwTimeout,
ULONG cHandles,
LPHANDLE pHandles,
LPDWORD lpdwindex
)
Overview
Waits for one or more handles to become signaled.
Params
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.
Returns
Success: S_OK.
Failure: RPC_S_CALLPENDING on timeout.
Notes
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.
Implementation
Declared in "objbase.h".
Implemented in "dlls/ole32/compobj.c".
Debug channel "ole".
Releases
3 releases since Debian 5.0 (Lenny); the text changed 2 times.