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
'Declaração
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
)
Parameters
- handles
Type: array<System.IntPtr[]
The handles.
- handleCount
Type: System.UInt32%
[out] The number of handles returned.
- timeout
Type: System.UInt32%
[out] The timeout.
- loopData
Type: System.IntPtr
The loop data.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.