IDataObject
public HRESULT DAdvise(FORMATETC* pformatetc, uint advf, IAdviseSink* pAdvSink, UInt32* pdwConnection)
Called by an object supporting an advise sink to create a connection between a data object and the advise sink. This enables the advise sink to be notified of changes in the data of the object.
Destroys a notification connection that had been previously set up.
Creates an object that can be used to enumerate the current advisory connections.
Creates an object to enumerate the formats supported by a data object.
Provides a potentially different but logically equivalent FORMATETC structure. You use this method to determine whether two different FORMATETC structures would return the same data, removing the need for duplicate rendering.
Called by a data consumer to obtain data from a source data object.
Called by a data consumer to obtain data from a source data object. This method differs from the GetData method in that the caller must allocate and free the specified storage medium.
Determines whether the data object is capable of rendering the data as specified. Objects attempting a paste or drop operation can call this method before calling IDataObject::GetData to get an indication of whether the operation may be successful.
Called by an object containing a data source to transfer data to the object that implements this method.