Trait windows::Win32::System::Wmi::IWbemPathKeyList_Impl
pub trait IWbemPathKeyList_Impl: Sized {
// Required methods
fn GetCount(&self) -> Result<u32>;
fn SetKey(
&self,
wszname: &PCWSTR,
uflags: u32,
ucimtype: u32,
pkeyval: *const c_void,
) -> Result<()>;
fn SetKey2(
&self,
wszname: &PCWSTR,
uflags: u32,
ucimtype: u32,
pkeyval: *const VARIANT,
) -> Result<()>;
fn GetKey(
&self,
ukeyix: u32,
uflags: u32,
punamebufsize: *mut u32,
pszkeyname: PWSTR,
pukeyvalbufsize: *mut u32,
pkeyval: *mut c_void,
puapparentcimtype: *mut u32,
) -> Result<()>;
fn GetKey2(
&self,
ukeyix: u32,
uflags: u32,
punamebufsize: *mut u32,
pszkeyname: PWSTR,
pkeyvalue: *mut VARIANT,
puapparentcimtype: *mut u32,
) -> Result<()>;
fn RemoveKey(&self, wszname: &PCWSTR, uflags: u32) -> Result<()>;
fn RemoveAllKeys(&self, uflags: u32) -> Result<()>;
fn MakeSingleton(&self, bset: u8) -> Result<()>;
fn GetInfo(&self, urequestedinfo: u32) -> Result<u64>;
fn GetText(
&self,
lflags: i32,
pubufflength: *mut u32,
psztext: PWSTR,
) -> Result<()>;
}
Required Methods§
fn GetCount(&self) -> Result<u32>
fn SetKey( &self, wszname: &PCWSTR, uflags: u32, ucimtype: u32, pkeyval: *const c_void, ) -> Result<()>
fn SetKey2( &self, wszname: &PCWSTR, uflags: u32, ucimtype: u32, pkeyval: *const VARIANT, ) -> Result<()>
fn GetKey( &self, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: PWSTR, pukeyvalbufsize: *mut u32, pkeyval: *mut c_void, puapparentcimtype: *mut u32, ) -> Result<()>
fn GetKey2( &self, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: PWSTR, pkeyvalue: *mut VARIANT, puapparentcimtype: *mut u32, ) -> Result<()>
fn RemoveKey(&self, wszname: &PCWSTR, uflags: u32) -> Result<()>
fn RemoveAllKeys(&self, uflags: u32) -> Result<()>
fn MakeSingleton(&self, bset: u8) -> Result<()>
fn GetInfo(&self, urequestedinfo: u32) -> Result<u64>
fn GetText( &self, lflags: i32, pubufflength: *mut u32, psztext: PWSTR, ) -> Result<()>
Object Safety§
This trait is not object safe.