COleServerItem::GetDataSource
COleDataSource*GetDataSource();
Return Value
A pointer to the COleDataSource object used to store the conversion formats.
Remarks
Call this function to get the COleDataSource object used to store the conversion formats that the server application supports. If you want your server application to offer data in a variety of formats during data transfer operations, register those formats with the COleDataSource object returned by this function. For example, if you want to supply a CF_TEXT representation of the OLE item for Clipboard or drag-and-drop operations, you would register the format with the COleDataSource object this function returns, and then override the OnRenderXxxData member function to provide the data.
COleServerItem Overview | Class Members | Hierarchy Chart
See Also COleDataSource, COleDataSource::DelayRenderData, COleServerItem::CopyToClipboard, COleServerItem::DoDragDrop, COleServerItem::OnRenderData, COleServerItem::OnRenderFileData, COleServerItem::OnRenderGlobalData