Partager via


OleComponent.IOleComponent.FContinueMessageLoop Method

Called during each iteration of a message loop that the component pushed. Simply calls through to FContinueMessageLoopCore.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Private Function FContinueMessageLoop ( _
    uReason As UInteger, _
    pvLoopData As IntPtr, _
    pMsgPeeked As MSG() _
) As Integer Implements IOleComponent.FContinueMessageLoop
'Utilisation
Dim instance As OleComponent
Dim uReason As UInteger
Dim pvLoopData As IntPtr
Dim pMsgPeeked As MSG()
Dim returnValue As Integer

returnValue = CType(instance, IOleComponent).FContinueMessageLoop(uReason, _
    pvLoopData, pMsgPeeked)
int IOleComponent.FContinueMessageLoop(
    uint uReason,
    IntPtr pvLoopData,
    MSG[] pMsgPeeked
)
private:
virtual int FContinueMessageLoop(
    unsigned int uReason, 
    IntPtr pvLoopData, 
    array<MSG>^ pMsgPeeked
) sealed = IOleComponent::FContinueMessageLoop
private abstract FContinueMessageLoop : 
        uReason:uint32 * 
        pvLoopData:IntPtr * 
        pMsgPeeked:MSG[] -> int 
private override FContinueMessageLoop : 
        uReason:uint32 * 
        pvLoopData:IntPtr * 
        pMsgPeeked:MSG[] -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IOleComponent.FContinueMessageLoop(UInt32, IntPtr, array<MSG[])

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.

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace