IOleObjectImpl::OnPreVerbDiscardUndo
Called by DoVerbDiscardUndo before the undo state is discarded.
HRESULT OnPreVerbDiscardUndo( );
Return Value
Returns S_OK.
Remarks
To prevent the undo state from being discarded, override this method to return an error HRESULT.
Requirements
Header: atlctl.h