OleComponent.PushMessageLoop(_OLELOOP, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)