Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "WaitForMultipleObjects" in [All]

user32

.
Summary
.

static extern uint MsgWaitForMultipleObjectsEx(uint nCount, IntPtr [] pHandles,

.

    Private Declare Function MsgWaitForMultipleObjects Lib "User32.dll" ( _

.

        Select Case MsgWaitForMultipleObjects(1, arrHandles, 1, waitInterval, QS_ALLEVENTS)

.

    private static extern int MsgWaitForMultipleObjectsEx(

.
Documentation
[MsgWaitForMultipleObjectsEx] on MSDN
.
Summary
.

static extern uint MsgWaitForMultipleObjectsEx(uint nCount, IntPtr [] pHandles,

.

    Private Declare Function MsgWaitForMultipleObjects Lib "User32.dll" ( _

.

        Select Case MsgWaitForMultipleObjects(1, arrHandles, 1, waitInterval, QS_ALLEVENTS)

.
Documentation
[MsgWaitForMultipleObjectsEx] on MSDN

Enums

.
Summary
Queue status flags for GetQueueStatus() and MsgWaitForMultipleObjects()

kernel32

.
Summary
.

static extern uint WaitForMultipleObjects(uint nCount, IntPtr [] lpHandles,

.
Documentation
[WaitForMultipleObjects] on MSDN

coredll

.

    Public Shared Function WaitForMultipleObjects(ByVal count As Integer, ByVal handle() As IntPtr, ByVal waitAll As Boolean, ByVal milliseconds As Integer) As Integer

.

        Dim val As Integer = WaitHandles.WaitForMultipleObjects(waitEvents.Length, handlePointers, waitAll, millisecondsTimeout)

.

[DllImport("coredll.dll", EntryPoint = "WaitForMultipleObjects", SetLastError = true)]

.

static extern int WaitForMultipleObjects(UInt32 nCount, IntPtr[] lpHandles, Boolean fWaitAll, UInt32 dwMilliseconds);

.

Declare Function WaitForMultipleObjects Lib "coredll.dll" (ByVal nCount As Integer, ByVal lpHandles() As IntPtr, ByVal fWaitAll As Boolean, ByVal dwMilliseconds As Integer) As Integer

.

    Int32 result = WaitForMultipleObjects((UInt32)handles.Length, handles, false, INFINITE);

.
Documentation
[WaitForMultipleObjects] on MSDN

 
Access PInvoke.net directly from VS: