IVsCommonMessagePump.ModalWaitForObjects Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function ModalWaitForObjects ( _
rgHandles As IntPtr(), _
cHandles As UInteger, _
<OutAttribute> ByRef pdwWaitResult As UInteger _
) As Integer
'Usage
Dim instance As IVsCommonMessagePump
Dim rgHandles As IntPtr()
Dim cHandles As UInteger
Dim pdwWaitResult As UInteger
Dim returnValue As Integer
returnValue = instance.ModalWaitForObjects(rgHandles, _
cHandles, pdwWaitResult)
int ModalWaitForObjects(
IntPtr[] rgHandles,
uint cHandles,
out uint pdwWaitResult
)
int ModalWaitForObjects(
[InAttribute] array<IntPtr>^ rgHandles,
[InAttribute] unsigned int cHandles,
[OutAttribute] unsigned int% pdwWaitResult
)
abstract ModalWaitForObjects :
rgHandles:IntPtr[] *
cHandles:uint32 *
pdwWaitResult:uint32 byref -> int
function ModalWaitForObjects(
rgHandles : IntPtr[],
cHandles : uint,
pdwWaitResult : uint
) : int
Parameters
- rgHandles
Type: array<System.IntPtr[]
- cHandles
Type: System.UInt32
- pdwWaitResult
Type: System.UInt32%
Return Value
Type: System.Int32
.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.