Trait windows::Win32::System::Wmi::IWbemPath_Impl
pub trait IWbemPath_Impl: Sized {
Show 26 methods
// Required methods
fn SetText(&self, umode: u32, pszpath: &PCWSTR) -> Result<()>;
fn GetText(
&self,
lflags: i32,
pubufflength: *mut u32,
psztext: PWSTR,
) -> Result<()>;
fn GetInfo(&self, urequestedinfo: u32) -> Result<u64>;
fn SetServer(&self, name: &PCWSTR) -> Result<()>;
fn GetServer(&self, punamebuflength: *mut u32, pname: PWSTR) -> Result<()>;
fn GetNamespaceCount(&self) -> Result<u32>;
fn SetNamespaceAt(&self, uindex: u32, pszname: &PCWSTR) -> Result<()>;
fn GetNamespaceAt(
&self,
uindex: u32,
punamebuflength: *mut u32,
pname: PWSTR,
) -> Result<()>;
fn RemoveNamespaceAt(&self, uindex: u32) -> Result<()>;
fn RemoveAllNamespaces(&self) -> Result<()>;
fn GetScopeCount(&self) -> Result<u32>;
fn SetScope(&self, uindex: u32, pszclass: &PCWSTR) -> Result<()>;
fn SetScopeFromText(&self, uindex: u32, psztext: &PCWSTR) -> Result<()>;
fn GetScope(
&self,
uindex: u32,
puclassnamebufsize: *mut u32,
pszclass: PWSTR,
pkeylist: *mut Option<IWbemPathKeyList>,
) -> Result<()>;
fn GetScopeAsText(
&self,
uindex: u32,
putextbufsize: *mut u32,
psztext: PWSTR,
) -> Result<()>;
fn RemoveScope(&self, uindex: u32) -> Result<()>;
fn RemoveAllScopes(&self) -> Result<()>;
fn SetClassName(&self, name: &PCWSTR) -> Result<()>;
fn GetClassName(&self, pubufflength: *mut u32, pszname: PWSTR) -> Result<()>;
fn GetKeyList(&self) -> Result<IWbemPathKeyList>;
fn CreateClassPart(&self, lflags: i32, name: &PCWSTR) -> Result<()>;
fn DeleteClassPart(&self, lflags: i32) -> Result<()>;
fn IsRelative(&self, wszmachine: &PCWSTR, wsznamespace: &PCWSTR) -> BOOL;
fn IsRelativeOrChild(
&self,
wszmachine: &PCWSTR,
wsznamespace: &PCWSTR,
lflags: i32,
) -> BOOL;
fn IsLocal(&self, wszmachine: &PCWSTR) -> BOOL;
fn IsSameClassName(&self, wszclass: &PCWSTR) -> BOOL;
}
Required Methods§
fn SetText(&self, umode: u32, pszpath: &PCWSTR) -> Result<()>
fn GetText( &self, lflags: i32, pubufflength: *mut u32, psztext: PWSTR, ) -> Result<()>
fn GetInfo(&self, urequestedinfo: u32) -> Result<u64>
fn SetServer(&self, name: &PCWSTR) -> Result<()>
fn GetServer(&self, punamebuflength: *mut u32, pname: PWSTR) -> Result<()>
fn GetNamespaceCount(&self) -> Result<u32>
fn SetNamespaceAt(&self, uindex: u32, pszname: &PCWSTR) -> Result<()>
fn GetNamespaceAt( &self, uindex: u32, punamebuflength: *mut u32, pname: PWSTR, ) -> Result<()>
fn RemoveNamespaceAt(&self, uindex: u32) -> Result<()>
fn RemoveAllNamespaces(&self) -> Result<()>
fn GetScopeCount(&self) -> Result<u32>
fn SetScope(&self, uindex: u32, pszclass: &PCWSTR) -> Result<()>
fn SetScopeFromText(&self, uindex: u32, psztext: &PCWSTR) -> Result<()>
fn GetScope( &self, uindex: u32, puclassnamebufsize: *mut u32, pszclass: PWSTR, pkeylist: *mut Option<IWbemPathKeyList>, ) -> Result<()>
fn GetScopeAsText( &self, uindex: u32, putextbufsize: *mut u32, psztext: PWSTR, ) -> Result<()>
fn RemoveScope(&self, uindex: u32) -> Result<()>
fn RemoveAllScopes(&self) -> Result<()>
fn SetClassName(&self, name: &PCWSTR) -> Result<()>
fn GetClassName(&self, pubufflength: *mut u32, pszname: PWSTR) -> Result<()>
fn GetKeyList(&self) -> Result<IWbemPathKeyList>
fn CreateClassPart(&self, lflags: i32, name: &PCWSTR) -> Result<()>
fn DeleteClassPart(&self, lflags: i32) -> Result<()>
fn IsRelative(&self, wszmachine: &PCWSTR, wsznamespace: &PCWSTR) -> BOOL
fn IsRelativeOrChild( &self, wszmachine: &PCWSTR, wsznamespace: &PCWSTR, lflags: i32, ) -> BOOL
fn IsLocal(&self, wszmachine: &PCWSTR) -> BOOL
fn IsSameClassName(&self, wszclass: &PCWSTR) -> BOOL
Object Safety§
This trait is not object safe.