SimpleEditorView::FContinueMessageLoop Method (UInt32, IntPtr, array<MSG>^)

 

Called during each iteration of the message loop.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int FContinueMessageLoop(
	unsigned int uReason,
	IntPtr pvLoopData,
	array<MSG>^ pMsgPeeked
)

Parameters

uReason
Type: System::UInt32

An enumeration of type _OLELOOP.

pvLoopData
Type: System::IntPtr

A pointer to private data.

pMsgPeeked
Type: array<Microsoft.VisualStudio.OLE.Interop::MSG>^

An array of MSG structures. May be null.

Return Value

Type: System::Int32

true if the message loop should continue, false otherwise.

By default this method is not implemented and simply returns true.

Notes to Implementers:

uReason and pvLoopData are the reason and the \private data that were passed to M:Microsoft.VisualStudio.OLE.Interop.IOleComponentManager.FPushMessageLoop. This method is called after peeking at the next message in the queue but before the message is removed from the queue. The peeked message is passed in the pMsgPeeked parameter (null if no message is in the queue). This method may also be called when the next message has already been removed from the queue, in which case pMsgPeeked is passed as null. If this method returns false, the component manager terminates the loop without removing pMsgPeeked from the queue.

Return to top
Show: