Share via


IDataObjectImpl::DAdvise

Establishes a connection between the data object and an advise sink.

HRESULT DAdvise( 
   FORMATETC* pformatetc, 
   DWORD advf, 
   IAdviseSink* pAdvSink, 
   DWORD* pdwConnection  
);

Remarks

This enables the advise sink to receive notifications of changes in the object.

To terminate the connection, call DUnadvise.

See IDataObject::DAdvise in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IDataObjectImpl Class

FORMATETC

IAdviseSink

Other Resources

IDataObjectImpl Members