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
'Declaration
Function FContinueMessageLoop ( _
uReason As UInteger, _
pvLoopData As IntPtr, _
pMsgPeeked As MSG() _
) As Integer
int FContinueMessageLoop(
uint uReason,
IntPtr pvLoopData,
MSG[] pMsgPeeked
)
int FContinueMessageLoop(
[InAttribute] unsigned int uReason,
[InAttribute] IntPtr pvLoopData,
[InAttribute] array<MSG>^ pMsgPeeked
)
abstract FContinueMessageLoop :
uReason:uint32 *
pvLoopData:IntPtr *
pMsgPeeked:MSG[] -> int
function FContinueMessageLoop(
uReason : uint,
pvLoopData : IntPtr,
pMsgPeeked : MSG[]
) : int
Parameters
uReason
Type: UInt32The OLELOOP representing the reason.
pvLoopData
Type: IntPtrThe component data that was sent to FPushMessageLoop.
pMsgPeeked
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]The peeked message (from PeekMessage).
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.