Partilhar via


IOleObjectImpl::Advise

Establishes an advisory connection with the control.

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

Remarks

See IOleObject::Advise in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class

CComControlBase::m_spOleAdviseHolder

IOleObjectImpl::Unadvise

Other Resources

IOleObjectImpl Members