void Close( OLECLOSE dwCloseOption = OLECLOSE_SAVEIFDIRTY );
Parameters
dwCloseOption
Flag specifying under what circumstances the OLE item is saved when it returns to the loaded state. It can have one of the following values:
Remarks
Call this function to change the state of an OLE item from the running state to the loaded state, that is, loaded with its handler in memory but with the server not running. This function has no effect when the OLE item is not running.
For more information, see IOleObject::Close in the OLE documentation.
COleClientItem Overview | Class Members | Hierarchy Chart
See Also COleClientItem::UpdateLink