다음을 통해 공유


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

See Also

Concepts

IOleObjectImpl Class

IOleObjectImpl Members

IOleObjectImpl::DoVerbDiscardUndo

IOleObjectImpl::OnPostVerbDiscardUndo