Compartir a través de


IOleComponent.FContinueMessageLoop Method

Called during each iteration of a message loop.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaración
Function FContinueMessageLoop ( _
    uReason As UInteger, _
    pvLoopData As IntPtr, _
    pMsgPeeked As MSG() _
) As Integer
int FContinueMessageLoop(
    uint uReason,
    IntPtr pvLoopData,
    MSG[] pMsgPeeked
)

Parameters

  • uReason
    Type: System.UInt32
    The OLELOOP representing the reason.

Return Value

Type: System.Int32
true if the message loop should continue, false otherwise. If false is returned, the component manager terminates the loop without removing pMsgPeeked from the queue.

Remarks

This method is called after peeking at 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 parameter (nulla null reference (Nothing in Visual Basic) 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 nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IOleComponent Interface

Microsoft.VisualStudio.OLE.Interop Namespace