Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this function to get the COleDataSource object used to store the conversion formats that the server application supports.
COleDataSource* GetDataSource( );
Return Value
A pointer to the COleDataSource object used to store the conversion formats.
Remarks
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.
Requirements
Header: afxole.h
See Also
Reference
COleDataSource::DelayRenderData
COleServerItem::CopyToClipboard
COleServerItem::OnRenderFileData
COleServerItem::OnRenderGlobalData