Поделиться через


COleServerItem::GetLinkSourceData

Call this function to get the CF_LINKSOURCE data for an OLE item.

BOOL GetLinkSourceData(
   LPSTGMEDIUM lpStgMedium 
);

Параметры

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

Возвращаемое значение

Nonzero if successful; otherwise 0.

Заметки

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 Windows SDK.

Требования

Header: afxole.h

См. также

Основные понятия

COleServerItem Class

COleServerItem Members

Hierarchy Chart

COleServerItem::GetEmbedSourceData

COleServerItem::GetObjectDescriptorData