MsgWaitForMultipleObjectsEx function user32

int MsgWaitForMultipleObjectsEx(
  1. int nCount,
  2. Pointer<IntPtr> pHandles,
  3. int dwMilliseconds,
  4. int dwWakeMask,
  5. int dwFlags
)

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