Trait IPropertyBag2_Impl
pub trait IPropertyBag2_Impl: IUnknownImpl {
// Required methods
fn Read(
&self,
cproperties: u32,
ppropbag: *const PROPBAG2,
perrlog: Ref<'_, 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: Ref<'_, IUnknown>,
perrlog: Ref<'_, IErrorLog>,
) -> Result<()>;
}
Required Methods§
fn Read( &self, cproperties: u32, ppropbag: *const PROPBAG2, perrlog: Ref<'_, 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: Ref<'_, IUnknown>, perrlog: Ref<'_, IErrorLog>, ) -> 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.