COleServerItem::GetLinkSourceData

BOOL GetLinkSourceData( LPSTGMEDIUM lpStgMedium );

Return Value

Nonzero if successful; otherwise 0.

Parameters

lpStgMedium

Pointer to the STGMEDIUM structure that will receive the CF_LINKSOURCE data for the OLE item.

Remarks

Call this function to get the CF_LINKSOURCE data for an OLE item. This format includes the CLSID describing the type of the OLE item and the information needed to locate the document containing the OLE item.

The result can then be added to a data source with COleDataSource::CacheData. This function is called automatically by OnGetClipboardData.

For more information, see STGMEDIUM in the OLE 2 Programmer’s Reference, Volume 1.

COleServerItem OverviewClass MembersHierarchy Chart

See Also   COleServerItem::GetEmbedSourceData, COleServerItem::GetObjectDescriptorData