Поделиться через


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( );

Возвращаемое значение

Nonzero on success; otherwise 0.

Заметки

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.

Требования

Header: afxole.h

См. также

Основные понятия

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::OnReactivateAndUndo