Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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