IVsWindowFrame2::Advise Method (IVsWindowFrameNotify^, UInt32)

 

Enables a client to be notified of window frame events.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int Advise(
	IVsWindowFrameNotify^ pNotify,
	[OutAttribute] unsigned int% pdwCookie
)

Parameters

pNotify
Type: Microsoft.VisualStudio.Shell.Interop::IVsWindowFrameNotify^

[in] A IVsWindowFrameNotify interface to an entity to be called for window frame events.

pdwCookie
Type: System::UInt32

[out] A cookie associated with the given IVsWindowFrameNotify interface.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell80.idl:

HRESULT IVsWindowFrame2::Advise(
   [in] IVsWindowFrameNotify *pNotify, 
   [out] VSCOOKIE *pdwCookie
);
Return to top
Show: