windows::Win32::System::Ole

Trait IOleUndoManager_Impl

pub trait IOleUndoManager_Impl: IUnknownImpl {
    // Required methods
    fn Open(&self, ppuu: Ref<'_, IOleParentUndoUnit>) -> Result<()>;
    fn Close(&self, ppuu: Ref<'_, IOleParentUndoUnit>, fcommit: BOOL) -> HRESULT;
    fn Add(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>;
    fn GetOpenParentState(&self) -> Result<u32>;
    fn DiscardFrom(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>;
    fn UndoTo(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>;
    fn RedoTo(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>;
    fn EnumUndoable(&self) -> Result<IEnumOleUndoUnits>;
    fn EnumRedoable(&self) -> Result<IEnumOleUndoUnits>;
    fn GetLastUndoDescription(&self) -> Result<BSTR>;
    fn GetLastRedoDescription(&self) -> Result<BSTR>;
    fn Enable(&self, fenable: BOOL) -> Result<()>;
}

Required Methods§

fn Open(&self, ppuu: Ref<'_, IOleParentUndoUnit>) -> Result<()>

fn Close(&self, ppuu: Ref<'_, IOleParentUndoUnit>, fcommit: BOOL) -> HRESULT

fn Add(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>

fn GetOpenParentState(&self) -> Result<u32>

fn DiscardFrom(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>

fn UndoTo(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>

fn RedoTo(&self, puu: Ref<'_, IOleUndoUnit>) -> Result<()>

fn EnumUndoable(&self) -> Result<IEnumOleUndoUnits>

fn EnumRedoable(&self) -> Result<IEnumOleUndoUnits>

fn GetLastUndoDescription(&self) -> Result<BSTR>

fn GetLastRedoDescription(&self) -> Result<BSTR>

fn Enable(&self, fenable: BOOL) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§