IOleObjectImpl::Advise

HRESULT Advise( IAdviseSink* pAdvSink, DWORD* pdwConnection );

See IOleObject::Advise in the Win32 SDK.

Remarks

If successful, the IAdviseSink pointer is stored in the control class's m_spOleAdviseHolder data member.

IOleObjectImpl OverviewClass Members

See Also   CComControl::m_spOleAdviseHolder, IOleObjectImpl::Unadvise