CDataObject::DAdvise

HRESULT CDataObject::DAdvise(LPFORMATETC lpFormatEtc, DWORD dwFlags, LPADVISESINK pAdviseSink, LPDWROD pdwConnection)

Add an advisor to the data object

Defined in: DataSource.h

Return Value

Returns S_OK if the advise sink hooked up okay

Parameters

lpFormatEtc

Pointer to a FORMATETC structure holding the format information of the requested data type.

dwFlags

Specifies a group of flags for controlling the advisory connection.

pAdviseSink

The Advise Sink

pdwConnection

Cookie for unsubscribing

Comments

CDataObject provides no implementation of this function