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 Overview | Class Members
See Also CComControl::m_spOleAdviseHolder, IOleObjectImpl::Unadvise