コード例 #1
0
        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);
        }
コード例 #2
0
 private static extern int IntMsgWaitForMultipleObjectsEx(int nCount, IntPtr[] pHandles, int dwMilliseconds,
                                                          MsgWaitEventFlags dwWakeMask, MsgWaitFlags dwFlags);