SimpleEditorView.FContinueMessageLoop(UInt32, IntPtr, MSG[]) 方法

定义

在消息循环的每次迭代过程中调用。

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

参数

uReason
UInt32

_OLELOOP 类型的枚举。

pvLoopData
IntPtr

nativeint

指向私有数据的指针。

pMsgPeeked
MSG[]

MSG 结构的数组。 可为 null

返回

Int32

true 如果消息循环应继续,则 false 为; 否则为。

实现

注解

默认情况下,不实现此方法,只是返回 true

继承者说明

uReasonpvLoopData 是已传递到的 \private 数据 Microsoft.VisualStudio.OLE.Interop.IOleComponentManager.FPushMessageLoop 。 此方法在查看队列中的下一条消息之后、从队列中删除消息之前调用。 pMsgPeeked null 如果队列) 中没有消息,则扫视消息会传入参数 (。 当已从队列中删除下一条消息时,还可以调用此方法,在这种情况下, pMsgPeeked 将传递为 null 。 如果此方法返回 false ,则组件管理器将终止循环,而不 pMsgPeeked 从队列中移除。

适用于