다음을 통해 공유


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

Concepts

IOleObjectImpl Class

IOleObjectImpl Members