Trait IWbemObjectAccess_Impl
pub trait IWbemObjectAccess_Impl: IWbemClassObject_Impl {
// Required methods
fn GetPropertyHandle(
&self,
wszpropertyname: &PCWSTR,
ptype: *mut i32,
plhandle: *mut i32,
) -> Result<()>;
fn WritePropertyValue(
&self,
lhandle: i32,
lnumbytes: i32,
adata: *const u8,
) -> Result<()>;
fn ReadPropertyValue(
&self,
lhandle: i32,
lbuffersize: i32,
plnumbytes: *mut i32,
adata: *mut u8,
) -> Result<()>;
fn ReadDWORD(&self, lhandle: i32) -> Result<u32>;
fn WriteDWORD(&self, lhandle: i32, dw: u32) -> Result<()>;
fn ReadQWORD(&self, lhandle: i32) -> Result<u64>;
fn WriteQWORD(&self, lhandle: i32, pw: u64) -> Result<()>;
fn GetPropertyInfoByHandle(
&self,
lhandle: i32,
pstrname: *mut BSTR,
ptype: *mut i32,
) -> Result<()>;
fn Lock(&self, lflags: i32) -> Result<()>;
fn Unlock(&self, lflags: i32) -> Result<()>;
}
Required Methods§
fn GetPropertyHandle( &self, wszpropertyname: &PCWSTR, ptype: *mut i32, plhandle: *mut i32, ) -> Result<()>
fn WritePropertyValue( &self, lhandle: i32, lnumbytes: i32, adata: *const u8, ) -> Result<()>
fn ReadPropertyValue( &self, lhandle: i32, lbuffersize: i32, plnumbytes: *mut i32, adata: *mut u8, ) -> Result<()>
fn ReadDWORD(&self, lhandle: i32) -> Result<u32>
fn WriteDWORD(&self, lhandle: i32, dw: u32) -> Result<()>
fn ReadQWORD(&self, lhandle: i32) -> Result<u64>
fn WriteQWORD(&self, lhandle: i32, pw: u64) -> Result<()>
fn GetPropertyInfoByHandle( &self, lhandle: i32, pstrname: *mut BSTR, ptype: *mut i32, ) -> Result<()>
fn Lock(&self, lflags: i32) -> Result<()>
fn Unlock(&self, lflags: i32) -> 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.