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 when a container application calls the server application to create or edit an embedded item.

virtual COleServerItem* OnGetEmbeddedItem( ) = 0;

A pointer to an item representing the entire document; NULL if the operation failed.

There is no default implementation. You must override this function to return an item that represents the entire document. This return value should be an object of a COleServerItem-derived class.

© 2015 Microsoft