Struct windows::Win32::System::Wmi::ISWbemServicesEx
pub struct ISWbemServicesEx(/* private fields */);
Implementations§
§impl ISWbemServicesEx
impl ISWbemServicesEx
pub unsafe fn Put<P0, P1>(
&self,
objwbemobject: P0,
iflags: i32,
objwbemnamedvalueset: P1,
) -> Result<ISWbemObjectPath>where
P0: Param<ISWbemObjectEx>,
P1: Param<IDispatch>,
pub unsafe fn PutAsync<P0, P1, P2, P3>( &self, objwbemsink: P0, objwbemobject: P1, iflags: i32, objwbemnamedvalueset: P2, objwbemasynccontext: P3, ) -> Result<()>
Methods from Deref<Target = ISWbemServices>§
pub unsafe fn Get<P0, P1>(
&self,
strobjectpath: P0,
iflags: i32,
objwbemnamedvalueset: P1,
) -> Result<ISWbemObject>where
P0: Param<BSTR>,
P1: Param<IDispatch>,
pub unsafe fn GetAsync<P0, P1, P2, P3>( &self, objwbemsink: P0, strobjectpath: P1, iflags: i32, objwbemnamedvalueset: P2, objwbemasynccontext: P3, ) -> Result<()>
pub unsafe fn Delete<P0, P1>(
&self,
strobjectpath: P0,
iflags: i32,
objwbemnamedvalueset: P1,
) -> Result<()>where
P0: Param<BSTR>,
P1: Param<IDispatch>,
pub unsafe fn DeleteAsync<P0, P1, P2, P3>( &self, objwbemsink: P0, strobjectpath: P1, iflags: i32, objwbemnamedvalueset: P2, objwbemasynccontext: P3, ) -> Result<()>
pub unsafe fn InstancesOf<P0, P1>(
&self,
strclass: P0,
iflags: i32,
objwbemnamedvalueset: P1,
) -> Result<ISWbemObjectSet>where
P0: Param<BSTR>,
P1: Param<IDispatch>,
pub unsafe fn InstancesOfAsync<P0, P1, P2, P3>( &self, objwbemsink: P0, strclass: P1, iflags: i32, objwbemnamedvalueset: P2, objwbemasynccontext: P3, ) -> Result<()>
pub unsafe fn SubclassesOf<P0, P1>(
&self,
strsuperclass: P0,
iflags: i32,
objwbemnamedvalueset: P1,
) -> Result<ISWbemObjectSet>where
P0: Param<BSTR>,
P1: Param<IDispatch>,
pub unsafe fn SubclassesOfAsync<P0, P1, P2, P3>( &self, objwbemsink: P0, strsuperclass: P1, iflags: i32, objwbemnamedvalueset: P2, objwbemasynccontext: P3, ) -> Result<()>
pub unsafe fn ExecQuery<P0, P1, P2>(
&self,
strquery: P0,
strquerylanguage: P1,
iflags: i32,
objwbemnamedvalueset: P2,
) -> Result<ISWbemObjectSet>where
P0: Param<BSTR>,
P1: Param<BSTR>,
P2: Param<IDispatch>,
pub unsafe fn ExecQueryAsync<P0, P1, P2, P3, P4>( &self, objwbemsink: P0, strquery: P1, strquerylanguage: P2, lflags: i32, objwbemnamedvalueset: P3, objwbemasynccontext: P4, ) -> Result<()>
pub unsafe fn AssociatorsOf<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>(
&self,
strobjectpath: P0,
strassocclass: P1,
strresultclass: P2,
strresultrole: P3,
strrole: P4,
bclassesonly: P5,
bschemaonly: P6,
strrequiredassocqualifier: P7,
strrequiredqualifier: P8,
iflags: i32,
objwbemnamedvalueset: P9,
) -> Result<ISWbemObjectSet>where
P0: Param<BSTR>,
P1: Param<BSTR>,
P2: Param<BSTR>,
P3: Param<BSTR>,
P4: Param<BSTR>,
P5: Param<VARIANT_BOOL>,
P6: Param<VARIANT_BOOL>,
P7: Param<BSTR>,
P8: Param<BSTR>,
P9: Param<IDispatch>,
pub unsafe fn AssociatorsOfAsync<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11>(
&self,
objwbemsink: P0,
strobjectpath: P1,
strassocclass: P2,
strresultclass: P3,
strresultrole: P4,
strrole: P5,
bclassesonly: P6,
bschemaonly: P7,
strrequiredassocqualifier: P8,
strrequiredqualifier: P9,
iflags: i32,
objwbemnamedvalueset: P10,
objwbemasynccontext: P11,
) -> Result<()>where
P0: Param<IDispatch>,
P1: Param<BSTR>,
P2: Param<BSTR>,
P3: Param<BSTR>,
P4: Param<BSTR>,
P5: Param<BSTR>,
P6: Param<VARIANT_BOOL>,
P7: Param<VARIANT_BOOL>,
P8: Param<BSTR>,
P9: Param<BSTR>,
P10: Param<IDispatch>,
P11: Param<IDispatch>,
pub unsafe fn ReferencesTo<P0, P1, P2, P3, P4, P5, P6>(
&self,
strobjectpath: P0,
strresultclass: P1,
strrole: P2,
bclassesonly: P3,
bschemaonly: P4,
strrequiredqualifier: P5,
iflags: i32,
objwbemnamedvalueset: P6,
) -> Result<ISWbemObjectSet>where
P0: Param<BSTR>,
P1: Param<BSTR>,
P2: Param<BSTR>,
P3: Param<VARIANT_BOOL>,
P4: Param<VARIANT_BOOL>,
P5: Param<BSTR>,
P6: Param<IDispatch>,
pub unsafe fn ReferencesToAsync<P0, P1, P2, P3, P4, P5, P6, P7, P8>(
&self,
objwbemsink: P0,
strobjectpath: P1,
strresultclass: P2,
strrole: P3,
bclassesonly: P4,
bschemaonly: P5,
strrequiredqualifier: P6,
iflags: i32,
objwbemnamedvalueset: P7,
objwbemasynccontext: P8,
) -> Result<()>where
P0: Param<IDispatch>,
P1: Param<BSTR>,
P2: Param<BSTR>,
P3: Param<BSTR>,
P4: Param<VARIANT_BOOL>,
P5: Param<VARIANT_BOOL>,
P6: Param<BSTR>,
P7: Param<IDispatch>,
P8: Param<IDispatch>,
pub unsafe fn ExecNotificationQuery<P0, P1, P2>(
&self,
strquery: P0,
strquerylanguage: P1,
iflags: i32,
objwbemnamedvalueset: P2,
) -> Result<ISWbemEventSource>where
P0: Param<BSTR>,
P1: Param<BSTR>,
P2: Param<IDispatch>,
pub unsafe fn ExecNotificationQueryAsync<P0, P1, P2, P3, P4>( &self, objwbemsink: P0, strquery: P1, strquerylanguage: P2, iflags: i32, objwbemnamedvalueset: P3, objwbemasynccontext: P4, ) -> Result<()>
pub unsafe fn ExecMethod<P0, P1, P2, P3>( &self, strobjectpath: P0, strmethodname: P1, objwbeminparameters: P2, iflags: i32, objwbemnamedvalueset: P3, ) -> Result<ISWbemObject>
pub unsafe fn ExecMethodAsync<P0, P1, P2, P3, P4, P5>( &self, objwbemsink: P0, strobjectpath: P1, strmethodname: P2, objwbeminparameters: P3, iflags: i32, objwbemnamedvalueset: P4, objwbemasynccontext: P5, ) -> Result<()>
pub unsafe fn Security_(&self) -> Result<ISWbemSecurity>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<ISWbemServices> for ISWbemServicesEx
impl CanInto<ISWbemServices> for ISWbemServicesEx
§impl CanInto<IUnknown> for ISWbemServicesEx
impl CanInto<IUnknown> for ISWbemServicesEx
§impl Clone for ISWbemServicesEx
impl Clone for ISWbemServicesEx
§fn clone(&self) -> ISWbemServicesEx
fn clone(&self) -> ISWbemServicesEx
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ISWbemServicesEx
impl Debug for ISWbemServicesEx
§impl Deref for ISWbemServicesEx
impl Deref for ISWbemServicesEx
§impl From<&ISWbemServicesEx> for &IDispatch
impl From<&ISWbemServicesEx> for &IDispatch
§fn from(value: &ISWbemServicesEx) -> Self
fn from(value: &ISWbemServicesEx) -> Self
Converts to this type from the input type.
§impl From<&ISWbemServicesEx> for &ISWbemServices
impl From<&ISWbemServicesEx> for &ISWbemServices
§fn from(value: &ISWbemServicesEx) -> Self
fn from(value: &ISWbemServicesEx) -> Self
Converts to this type from the input type.
§impl From<&ISWbemServicesEx> for &IUnknown
impl From<&ISWbemServicesEx> for &IUnknown
§fn from(value: &ISWbemServicesEx) -> Self
fn from(value: &ISWbemServicesEx) -> Self
Converts to this type from the input type.
§impl From<ISWbemServicesEx> for IDispatch
impl From<ISWbemServicesEx> for IDispatch
§fn from(value: ISWbemServicesEx) -> Self
fn from(value: ISWbemServicesEx) -> Self
Converts to this type from the input type.
§impl From<ISWbemServicesEx> for ISWbemServices
impl From<ISWbemServicesEx> for ISWbemServices
§fn from(value: ISWbemServicesEx) -> Self
fn from(value: ISWbemServicesEx) -> Self
Converts to this type from the input type.
§impl From<ISWbemServicesEx> for IUnknown
impl From<ISWbemServicesEx> for IUnknown
§fn from(value: ISWbemServicesEx) -> Self
fn from(value: ISWbemServicesEx) -> Self
Converts to this type from the input type.
§impl Interface for ISWbemServicesEx
impl Interface for ISWbemServicesEx
§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 more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ISWbemServicesEx
impl PartialEq for ISWbemServicesEx
§fn eq(&self, other: &ISWbemServicesEx) -> bool
fn eq(&self, other: &ISWbemServicesEx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ISWbemServicesEx
impl StructuralPartialEq for ISWbemServicesEx
Auto Trait Implementations§
impl Freeze for ISWbemServicesEx
impl RefUnwindSafe for ISWbemServicesEx
impl !Send for ISWbemServicesEx
impl !Sync for ISWbemServicesEx
impl Unpin for ISWbemServicesEx
impl UnwindSafe for ISWbemServicesEx
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)