Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Called by the framework to determine whether the document contains an embedded OLE item with the specified name.

virtual COleClientItem* OnFindEmbeddedItem(
   LPCTSTR lpszItemName 



Pointer to the name of the embedded OLE item requested.

A pointer to the specified item; NULL if the item is not found.

The default implementation searches the list of embedded items for an item with the specified name (the name comparison is case sensitive). Override this function if you have your own method of storing or naming embedded OLE items.

© 2015 Microsoft