Share via


IViewObjectExImpl::GetAdvise

Retrieves an existing advisory sink connection on the control, if there is one.

STDMETHOD(GetAdvise)( 
   DWORD* /* pAspects */,
   DWORD* /* pAdvf */,
   IAdviseSink** /* ppAdvSink */ 
);

Remarks

The advisory sink is stored in the control class data member CComControlBase::m_spAdviseSink.

See IViewObject::GetAdvise in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IViewObjectExImpl Class

IViewObjectExImpl::SetAdvise