Share via


IOleObjectImpl::Advise

 

Establishes an advisory connection with the control.

Syntax

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

Remarks

See IOleObject::Advise in the Windows SDK.

Requirements

Header: atlctl.h

See Also

IOleObjectImpl Class
CComControlBase::m_spOleAdviseHolder
IOleObjectImpl::Unadvise