MsgWaitForMultipleObjectsEx function user32
Waits until one or all of the specified objects are in the signaled state, an I/O completion routine or asynchronous procedure call (APC) is queued to the thread, or the time-out interval elapses. The array of objects can include input event objects, which you specify using the dwWakeMask parameter.
DWORD MsgWaitForMultipleObjectsEx(
DWORD nCount,
const HANDLE *pHandles,
DWORD dwMilliseconds,
DWORD dwWakeMask,
DWORD dwFlags
);
Implementation
int MsgWaitForMultipleObjectsEx(
int nCount,
Pointer<IntPtr> pHandles,
int dwMilliseconds,
int dwWakeMask,
int dwFlags,
) => _MsgWaitForMultipleObjectsEx(
nCount,
pHandles,
dwMilliseconds,
dwWakeMask,
dwFlags,
);