IVsWindowFrame2::Advise Method (IVsWindowFrameNotify^, UInt32)
Visual Studio 2015
Enables a client to be notified of window frame events.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
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::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This method advises IVsWindowFrameNotify, IVsWindowFrameNotify2, and IVsWindowFrameNotify3 events.
From vsshell80.idl:
HRESULT IVsWindowFrame2::Advise(
[in] IVsWindowFrameNotify *pNotify,
[out] VSCOOKIE *pdwCookie
);
Show: