Share via


CommonMessagePump.IOleComponent2Private.GetWaitHandlesAndTimeout Method

Gets the wait handles and the timeout value.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Private Function GetWaitHandlesAndTimeout ( _
    handles As IntPtr(), _
    <OutAttribute> ByRef handleCount As UInteger, _
    <OutAttribute> ByRef timeout As UInteger, _
    loopData As IntPtr _
) As Integer Implements IOleComponent2Private.GetWaitHandlesAndTimeout
int IOleComponent2Private.GetWaitHandlesAndTimeout(
    IntPtr[] handles,
    out uint handleCount,
    out uint timeout,
    IntPtr loopData
)
private:
virtual int GetWaitHandlesAndTimeout(
    array<IntPtr>^ handles, 
    [OutAttribute] unsigned int% handleCount, 
    [OutAttribute] unsigned int% timeout, 
    IntPtr loopData
) sealed = IOleComponent2Private::GetWaitHandlesAndTimeout
private abstract GetWaitHandlesAndTimeout : 
        handles:IntPtr[] * 
        handleCount:uint32 byref * 
        timeout:uint32 byref * 
        loopData:IntPtr -> int  
private override GetWaitHandlesAndTimeout : 
        handles:IntPtr[] * 
        handleCount:uint32 byref * 
        timeout:uint32 byref * 
        loopData:IntPtr -> int
JScript does not support explicit interface implementations.

Parameters

  • handleCount
    Type: System.UInt32%

    [out] The number of handles returned.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IOleComponent2Private.GetWaitHandlesAndTimeout(array<IntPtr[], UInt32%, UInt32%, IntPtr)

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace