COleServerDoc::DiscardUndoState
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.
BOOL DiscardUndoState( );
Return Value
Nonzero on success; otherwise 0.
Remarks
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.
Requirements
Header: afxole.h
See Also
Reference
COleServerDoc::OnReactivateAndUndo