pub struct IWbemPath(/* private fields */);
Implementations§
§impl IWbemPath
impl IWbemPath
pub unsafe fn SetText<P0>(&self, umode: u32, pszpath: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetText( &self, lflags: i32, pubufflength: *mut u32, psztext: PWSTR ) -> Result<()>
pub unsafe fn GetInfo(&self, urequestedinfo: u32) -> Result<u64>
pub unsafe fn SetServer<P0>(&self, name: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetServer( &self, punamebuflength: *mut u32, pname: PWSTR ) -> Result<()>
pub unsafe fn GetNamespaceCount(&self) -> Result<u32>
pub unsafe fn SetNamespaceAt<P0>(&self, uindex: u32, pszname: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetNamespaceAt( &self, uindex: u32, punamebuflength: *mut u32, pname: PWSTR ) -> Result<()>
pub unsafe fn RemoveNamespaceAt(&self, uindex: u32) -> Result<()>
pub unsafe fn RemoveAllNamespaces(&self) -> Result<()>
pub unsafe fn GetScopeCount(&self) -> Result<u32>
pub unsafe fn SetScope<P0>(&self, uindex: u32, pszclass: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetScopeFromText<P0>(
&self,
uindex: u32,
psztext: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetScope( &self, uindex: u32, puclassnamebufsize: *mut u32, pszclass: PWSTR, pkeylist: *mut Option<IWbemPathKeyList> ) -> Result<()>
pub unsafe fn GetScopeAsText( &self, uindex: u32, putextbufsize: *mut u32, psztext: PWSTR ) -> Result<()>
pub unsafe fn RemoveScope(&self, uindex: u32) -> Result<()>
pub unsafe fn RemoveAllScopes(&self) -> Result<()>
pub unsafe fn SetClassName<P0>(&self, name: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetClassName( &self, pubufflength: *mut u32, pszname: PWSTR ) -> Result<()>
pub unsafe fn GetKeyList(&self) -> Result<IWbemPathKeyList>
pub unsafe fn CreateClassPart<P0>(&self, lflags: i32, name: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn DeleteClassPart(&self, lflags: i32) -> Result<()>
pub unsafe fn IsRelative<P0, P1>( &self, wszmachine: P0, wsznamespace: P1 ) -> BOOL
pub unsafe fn IsRelativeOrChild<P0, P1>( &self, wszmachine: P0, wsznamespace: P1, lflags: i32 ) -> BOOL
pub unsafe fn IsLocal<P0>(&self, wszmachine: P0) -> BOOLwhere
P0: IntoParam<PCWSTR>,
pub unsafe fn IsSameClassName<P0>(&self, wszclass: P0) -> BOOLwhere
P0: IntoParam<PCWSTR>,
Trait Implementations§
§impl Interface for IWbemPath
impl Interface for IWbemPath
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for IWbemPath
impl StructuralPartialEq for IWbemPath
Auto Trait Implementations§
impl RefUnwindSafe for IWbemPath
impl !Send for IWbemPath
impl !Sync for IWbemPath
impl Unpin for IWbemPath
impl UnwindSafe for IWbemPath
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more