IVsCommonMessagePump::ModalWaitForObjectsWithClient Method (array<IntPtr>^, UInt32, IVsCommonMessagePumpClientEvents^)
Visual Studio 2015
The method's behavior is very similar to ModalWaitForObjects. In addition, it allows for a custom wait and events processing logic to be supplied. The method makes VS modal, and automatically provides the default wait UI after about 2 seconds of waiting.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int ModalWaitForObjectsWithClient( array<IntPtr>^ rgHandles, unsigned int cHandles, IVsCommonMessagePumpClientEvents^ pClient )
Parameters
- rgHandles
-
Type:
array<System::IntPtr>^
The array of handles for the objects to wait on.
- cHandles
-
Type:
System::UInt32
The number of handles in the array. The maximum is 64.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: