CommonMessagePump::IVsCommonMessagePump::ModalWaitForObjects Method (array<IntPtr>^, UInt32, UInt32)
Visual Studio 2015
Blocks the current thread by pumping messages until either a timeout or one of the specified handles has been signaled.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
private: virtual int ModalWaitForObjects( array<IntPtr>^ handles, unsigned int handleCount, [OutAttribute] unsigned int% waitResult ) sealed = IVsCommonMessagePump::ModalWaitForObjects
Parameters
- handles
-
Type:
array<System::IntPtr>^
The array of handles to wait on.
- handleCount
-
Type:
System::UInt32
The number of handles.
- waitResult
-
Type:
System::UInt32
[out] The index to the signaled handle, or WAIT_TIMEOUT if the wait timed out.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: