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
'宣告
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.
- pvLoopData
Type: System.IntPtr
The component data that was sent to FPushMessageLoop.
- pMsgPeeked
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
The peeked message (from PeekMessage).
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
- 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.