COleClientItem::SetIconicMetafile

BOOL SetIconicMetafile( HGLOBAL hMetaPict );

Return Value

Nonzero if successful; otherwise 0.

Parameters

hMetaPict

A handle to the metafile used for drawing the item’s icon.

Remarks

Caches the metafile used for drawing the item’s icon. Use GetIconicMetafile to retrieve the metafile.

The hMetaPict parameter is copied into the item; therefore, hMetaPict must be freed by the caller.

COleClientItem OverviewClass MembersHierarchy Chart

See Also   COleClientItem::GetIconicMetafile