MsgWaitForMultipleObjects function user32
Waits until one or all of the specified objects are in the signaled state or the time-out interval elapses. The objects can include input event objects, which you specify using the dwWakeMask parameter.
DWORD MsgWaitForMultipleObjects(
DWORD nCount,
const HANDLE *pHandles,
BOOL fWaitAll,
DWORD dwMilliseconds,
DWORD dwWakeMask
);
Implementation
int MsgWaitForMultipleObjects(int nCount, Pointer<IntPtr> pHandles,
int fWaitAll, int dwMilliseconds, int dwWakeMask) =>
_MsgWaitForMultipleObjects(
nCount, pHandles, fWaitAll, dwMilliseconds, dwWakeMask);