Struct ISWbemServicesEx
pub struct ISWbemServicesEx(/* private fields */);Implementations§
§impl ISWbemServicesEx
 
impl ISWbemServicesEx
pub unsafe fn Put<P0, P2>(
    &self,
    objwbemobject: P0,
    iflags: i32,
    objwbemnamedvalueset: P2,
) -> Result<ISWbemObjectPath>where
    P0: Param<ISWbemObjectEx>,
    P2: Param<IDispatch>,
pub unsafe fn PutAsync<P0, P1, P3, P4>( &self, objwbemsink: P0, objwbemobject: P1, iflags: i32, objwbemnamedvalueset: P3, objwbemasynccontext: P4, ) -> Result<()>
Methods from Deref<Target = ISWbemServices>§
pub unsafe fn Get<P2>(
    &self,
    strobjectpath: &BSTR,
    iflags: i32,
    objwbemnamedvalueset: P2,
) -> Result<ISWbemObject>where
    P2: Param<IDispatch>,
pub unsafe fn GetAsync<P0, P3, P4>( &self, objwbemsink: P0, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: P3, objwbemasynccontext: P4, ) -> Result<()>
pub unsafe fn Delete<P2>(
    &self,
    strobjectpath: &BSTR,
    iflags: i32,
    objwbemnamedvalueset: P2,
) -> Result<()>where
    P2: Param<IDispatch>,
pub unsafe fn DeleteAsync<P0, P3, P4>( &self, objwbemsink: P0, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: P3, objwbemasynccontext: P4, ) -> Result<()>
pub unsafe fn InstancesOf<P2>(
    &self,
    strclass: &BSTR,
    iflags: i32,
    objwbemnamedvalueset: P2,
) -> Result<ISWbemObjectSet>where
    P2: Param<IDispatch>,
pub unsafe fn InstancesOfAsync<P0, P3, P4>( &self, objwbemsink: P0, strclass: &BSTR, iflags: i32, objwbemnamedvalueset: P3, objwbemasynccontext: P4, ) -> Result<()>
pub unsafe fn SubclassesOf<P2>(
    &self,
    strsuperclass: &BSTR,
    iflags: i32,
    objwbemnamedvalueset: P2,
) -> Result<ISWbemObjectSet>where
    P2: Param<IDispatch>,
pub unsafe fn SubclassesOfAsync<P0, P3, P4>( &self, objwbemsink: P0, strsuperclass: &BSTR, iflags: i32, objwbemnamedvalueset: P3, objwbemasynccontext: P4, ) -> Result<()>
pub unsafe fn ExecQuery<P3>(
    &self,
    strquery: &BSTR,
    strquerylanguage: &BSTR,
    iflags: i32,
    objwbemnamedvalueset: P3,
) -> Result<ISWbemObjectSet>where
    P3: Param<IDispatch>,
pub unsafe fn ExecQueryAsync<P0, P4, P5>( &self, objwbemsink: P0, strquery: &BSTR, strquerylanguage: &BSTR, lflags: i32, objwbemnamedvalueset: P4, objwbemasynccontext: P5, ) -> Result<()>
pub unsafe fn AssociatorsOf<P10>(
    &self,
    strobjectpath: &BSTR,
    strassocclass: &BSTR,
    strresultclass: &BSTR,
    strresultrole: &BSTR,
    strrole: &BSTR,
    bclassesonly: VARIANT_BOOL,
    bschemaonly: VARIANT_BOOL,
    strrequiredassocqualifier: &BSTR,
    strrequiredqualifier: &BSTR,
    iflags: i32,
    objwbemnamedvalueset: P10,
) -> Result<ISWbemObjectSet>where
    P10: Param<IDispatch>,
pub unsafe fn AssociatorsOfAsync<P0, P11, P12>( &self, objwbemsink: P0, strobjectpath: &BSTR, strassocclass: &BSTR, strresultclass: &BSTR, strresultrole: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredassocqualifier: &BSTR, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: P11, objwbemasynccontext: P12, ) -> Result<()>
pub unsafe fn ReferencesTo<P7>(
    &self,
    strobjectpath: &BSTR,
    strresultclass: &BSTR,
    strrole: &BSTR,
    bclassesonly: VARIANT_BOOL,
    bschemaonly: VARIANT_BOOL,
    strrequiredqualifier: &BSTR,
    iflags: i32,
    objwbemnamedvalueset: P7,
) -> Result<ISWbemObjectSet>where
    P7: Param<IDispatch>,
pub unsafe fn ReferencesToAsync<P0, P8, P9>( &self, objwbemsink: P0, strobjectpath: &BSTR, strresultclass: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: P8, objwbemasynccontext: P9, ) -> Result<()>
pub unsafe fn ExecNotificationQuery<P3>(
    &self,
    strquery: &BSTR,
    strquerylanguage: &BSTR,
    iflags: i32,
    objwbemnamedvalueset: P3,
) -> Result<ISWbemEventSource>where
    P3: Param<IDispatch>,
pub unsafe fn ExecNotificationQueryAsync<P0, P4, P5>( &self, objwbemsink: P0, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: P4, objwbemasynccontext: P5, ) -> Result<()>
pub unsafe fn ExecMethod<P2, P4>( &self, strobjectpath: &BSTR, strmethodname: &BSTR, objwbeminparameters: P2, iflags: i32, objwbemnamedvalueset: P4, ) -> Result<ISWbemObject>
pub unsafe fn ExecMethodAsync<P0, P3, P5, P6>( &self, objwbemsink: P0, strobjectpath: &BSTR, strmethodname: &BSTR, objwbeminparameters: P3, iflags: i32, objwbemnamedvalueset: P5, objwbemasynccontext: P6, ) -> 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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
 
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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
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