windows::Win32::System::Ole

Trait IPersistPropertyBag2_Impl

pub trait IPersistPropertyBag2_Impl: IPersist_Impl {
    // Required methods
    fn InitNew(&self) -> Result<()>;
    fn Load(
        &self,
        ppropbag: Ref<'_, IPropertyBag2>,
        perrlog: Ref<'_, IErrorLog>,
    ) -> Result<()>;
    fn Save(
        &self,
        ppropbag: Ref<'_, IPropertyBag2>,
        fcleardirty: BOOL,
        fsaveallproperties: BOOL,
    ) -> Result<()>;
    fn IsDirty(&self) -> HRESULT;
}

Required Methods§

fn InitNew(&self) -> Result<()>

fn Load( &self, ppropbag: Ref<'_, IPropertyBag2>, perrlog: Ref<'_, IErrorLog>, ) -> Result<()>

fn Save( &self, ppropbag: Ref<'_, IPropertyBag2>, fcleardirty: BOOL, fsaveallproperties: BOOL, ) -> Result<()>

fn IsDirty(&self) -> HRESULT

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§