internal static int MsgWaitForMultipleObjectsEx(int nCount, IntPtr[] pHandles, int dwMilliseconds, MsgWaitEventFlags dwWakeMask, MsgWaitFlags dwFlags) { int num = IntMsgWaitForMultipleObjectsEx(nCount, pHandles, dwMilliseconds, dwWakeMask, dwFlags); if (num == -1) { throw new Win32Exception(); } return(num); }
private static extern int IntMsgWaitForMultipleObjectsEx(int nCount, IntPtr[] pHandles, int dwMilliseconds, MsgWaitEventFlags dwWakeMask, MsgWaitFlags dwFlags);