OleComponent.PushMessageLoop(_OLELOOP, IntPtr) Method

Definition

Pushes this component to the OleComonentManager as the message loop handler by calling FPushMessageLoop(UInt32, UInt32, IntPtr). Message loop blocks until an ContinueMessageLoop handler sets the ContinuePumping /// to false.

public:
 int PushMessageLoop(Microsoft::VisualStudio::OLE::Interop::_OLELOOP reason, IntPtr pvLoopData);
public int PushMessageLoop (Microsoft.VisualStudio.OLE.Interop._OLELOOP reason, IntPtr pvLoopData);
member this.PushMessageLoop : Microsoft.VisualStudio.OLE.Interop._OLELOOP * nativeint -> int
Public Function PushMessageLoop (reason As _OLELOOP, pvLoopData As IntPtr) As Integer

Parameters

reason
_OLELOOP

Reason of the message loop.

pvLoopData
IntPtr

nativeint

Private data for the loop.

Returns

Returns the call result of the FPushMessageLoop(UInt32, UInt32, IntPtr)

Applies to