Trait windows::Win32::System::Com::IPersistMemory_Impl

pub trait IPersistMemory_Impl: Sized + IPersist_Impl {
    // Required methods
    fn IsDirty(&self) -> HRESULT;
    fn Load(&self, pmem: *const c_void, cbsize: u32) -> Result<()>;
    fn Save(
        &self,
        pmem: *mut c_void,
        fcleardirty: BOOL,
        cbsize: u32
    ) -> Result<()>;
    fn GetSizeMax(&self) -> Result<u32>;
    fn InitNew(&self) -> Result<()>;
}

Required Methods§

fn IsDirty(&self) -> HRESULT

fn Load(&self, pmem: *const c_void, cbsize: u32) -> Result<()>

fn Save(&self, pmem: *mut c_void, fcleardirty: BOOL, cbsize: u32) -> Result<()>

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

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

Object Safety§

This trait is not object safe.

Implementors§