Trait IWMBackupRestoreProps_Impl
pub trait IWMBackupRestoreProps_Impl: IUnknownImpl {
// Required methods
fn GetPropCount(&self) -> Result<u16>;
fn GetPropByIndex(
&self,
windex: u16,
pwszname: PWSTR,
pcchnamelen: *mut u16,
ptype: *mut WMT_ATTR_DATATYPE,
pvalue: *mut u8,
pcblength: *mut u16,
) -> Result<()>;
fn GetPropByName(
&self,
pszname: &PCWSTR,
ptype: *mut WMT_ATTR_DATATYPE,
pvalue: *mut u8,
pcblength: *mut u16,
) -> Result<()>;
fn SetProp(
&self,
pszname: &PCWSTR,
type: WMT_ATTR_DATATYPE,
pvalue: *const u8,
cblength: u16,
) -> Result<()>;
fn RemoveProp(&self, pcwszname: &PCWSTR) -> Result<()>;
fn RemoveAllProps(&self) -> Result<()>;
}
Required Methods§
fn GetPropCount(&self) -> Result<u16>
fn GetPropByIndex( &self, windex: u16, pwszname: PWSTR, pcchnamelen: *mut u16, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16, ) -> Result<()>
fn GetPropByName( &self, pszname: &PCWSTR, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16, ) -> Result<()>
fn SetProp( &self, pszname: &PCWSTR, type: WMT_ATTR_DATATYPE, pvalue: *const u8, cblength: u16, ) -> Result<()>
fn RemoveProp(&self, pcwszname: &PCWSTR) -> Result<()>
fn RemoveAllProps(&self) -> 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.