pub trait IPropertyBag2_Impl: Sized {
    // Required methods
    fn Read(
        &self,
        cproperties: u32,
        ppropbag: *const PROPBAG2,
        perrlog: Option<&IErrorLog>,
        pvarvalue: *mut VARIANT,
        phrerror: *mut HRESULT,
    ) -> Result<()>;
    fn Write(
        &self,
        cproperties: u32,
        ppropbag: *const PROPBAG2,
        pvarvalue: *const VARIANT,
    ) -> Result<()>;
    fn CountProperties(&self) -> Result<u32>;
    fn GetPropertyInfo(
        &self,
        iproperty: u32,
        cproperties: u32,
        ppropbag: *mut PROPBAG2,
        pcproperties: *mut u32,
    ) -> Result<()>;
    fn LoadObject(
        &self,
        pstrname: &PCWSTR,
        dwhint: u32,
        punkobject: Option<&IUnknown>,
        perrlog: Option<&IErrorLog>,
    ) -> Result<()>;
}

Required Methods§

fn Read( &self, cproperties: u32, ppropbag: *const PROPBAG2, perrlog: Option<&IErrorLog>, pvarvalue: *mut VARIANT, phrerror: *mut HRESULT, ) -> Result<()>

fn Write( &self, cproperties: u32, ppropbag: *const PROPBAG2, pvarvalue: *const VARIANT, ) -> Result<()>

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

fn GetPropertyInfo( &self, iproperty: u32, cproperties: u32, ppropbag: *mut PROPBAG2, pcproperties: *mut u32, ) -> Result<()>

fn LoadObject( &self, pstrname: &PCWSTR, dwhint: u32, punkobject: Option<&IUnknown>, perrlog: Option<&IErrorLog>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§