IOleComponent2 Interface

 

Enables components to participate in message processing while they are waiting for handles.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
public interface IOleComponent2 : IOleComponent

NameDescription
System_CAPS_pubmethodFContinueMessageLoop(UInt32, IntPtr, MSG[])

System_CAPS_pubmethodFDoIdle(UInt32)

System_CAPS_pubmethodFPreTranslateMessage(MSG[])

System_CAPS_pubmethodFQueryTerminate(Int32)

System_CAPS_pubmethodFReserved1(UInt32, UInt32, IntPtr, IntPtr)

System_CAPS_pubmethodGetWaitHandlesAndTimeout(IntPtr[], UInt32, UInt32, IntPtr)

When overridden in a derived class, returns the time-out and the list of handles on which this component is waiting.

System_CAPS_pubmethodHwndGetWindow(UInt32, UInt32)

System_CAPS_pubmethodOnActivationChange(IOleComponent, Int32, OLECRINFO[], Int32, OLECHOSTINFO[], UInt32)

System_CAPS_pubmethodOnAppActivate(Int32, UInt32)

System_CAPS_pubmethodOnEnterState(UInt32, Int32)

System_CAPS_pubmethodOnHandleSignaled(UInt32, IntPtr, Boolean)

When overridden in a derived class, enables the component to respond to a signal on a wait handle.

System_CAPS_pubmethodOnLoseActivation()

System_CAPS_pubmethodOnTimeout(IntPtr, Boolean)

When overridden in a derived class, enables the component to respond to a time-out on the message loop.

System_CAPS_pubmethodTerminate()

To add the component to the message loop and receive notification of signals, call FPushMessageLoop with a uReason parameter value of oleloopModelessFormWithHandles or oleloopModelessFormWithHandlesNoIdle.

Return to top
Show: