This method retrieves an existing advisory sink connection on the control, if there is one. The advisory sink is stored in the control class data member m spAdviseSink.
HRESULT GetAdvise( DWORD* pAspects, DWORD* pAdvf, IAdviseSink** ppAdvSink );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
IViewObjectExImpl Overview, IViewObjectExImpl Methods, IViewObject::GetAdvise, IViewObjectExImpl::SetAdvise