BOOL DiscardUndoState( );
Return Value
Nonzero on success; otherwise 0.
Remarks
If the user performs an editing operation that cannot be undone, call this function to force the container application to discard its undo-state information.
This function is provided so that servers that support Undo can free resources that would otherwise be consumed by undo-state information that cannot be used.
COleServerDoc Overview | Class Members | Hierarchy Chart
See Also COleServerDoc::OnReactivateAndUndo