Exemplo n.º 1
0
        public 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);
        }
Exemplo n.º 2
0
 private static extern int IntMsgWaitForMultipleObjectsEx(int nCount, IntPtr[] pHandles, int dwMilliseconds,
                                                          MsgWaitEventFlags dwWakeMask, MsgWaitFlags dwFlags);