Compartilhar via


OleComponent.IOleComponent.FContinueMessageLoop(UInt32, IntPtr, MSG[]) Method

Definition

Called during each iteration of a message loop that the component pushed. Simply calls through to FContinueMessageLoopCore(UInt32, IntPtr, MSG[]).

 virtual int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FContinueMessageLoop(System::UInt32 uReason, IntPtr pvLoopData, cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ pMsgPeeked) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::FContinueMessageLoop;
int IOleComponent.FContinueMessageLoop (uint uReason, IntPtr pvLoopData, Microsoft.VisualStudio.OLE.Interop.MSG[] pMsgPeeked);
abstract member Microsoft.VisualStudio.OLE.Interop.IOleComponent.FContinueMessageLoop : uint32 * nativeint * Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
override this.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FContinueMessageLoop : uint32 * nativeint * Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Function FContinueMessageLoop (uReason As UInteger, pvLoopData As IntPtr, pMsgPeeked As MSG()) As Integer Implements IOleComponent.FContinueMessageLoop

Parameters

uReason
UInt32

The reason given by the caller of FPushMessageLoop(UInt32, UInt32, IntPtr).

pvLoopData
IntPtr

nativeint

Private data provided by the caller of FPushMessageLoop(UInt32, UInt32, IntPtr).

pMsgPeeked
MSG[]

The message from the queue, or null if there was none.

Returns

TRUE (1) if the message loop should continue, FALSE (0) otherwise.

Implements

Remarks

This method is called after peeking the next message in the queue (via PeekMessage) but before the message is removed from the queue. The peeked message is passed in the pMsgPeeked param (NULL if no message is in the queue). This method may be additionally called when the next message has already been removed from the queue, in which case pMsgPeeked is passed as NULL. If FALSE (0) is returned, the component manager terminates the loop without removing pMsgPeeked from the queue.

Applies to