Partager via


IOleObjectImpl::DoVerbDiscardUndo

Tells the control to discard any undo state it is maintaining.

HRESULT DoVerbDiscardUndo( 
   LPCRECT /* prcPosRect */, 
   HWND /* hwndParent */
);

Parameters

  • prcPosRec
    [in] Pointer to the rectangle the container wants the control to draw into.

  • hwndParent
    [in] Handle of the window containing the control.

Return Value

Returns S_OK.

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class