windows::Win32::System::Wmi

Trait ISWbemServices_Impl

pub trait ISWbemServices_Impl: IDispatch_Impl {
Show 19 methods // Required methods fn Get( &self, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObject>; fn GetAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn Delete( &self, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<()>; fn DeleteAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn InstancesOf( &self, strclass: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>; fn InstancesOfAsync( &self, objwbemsink: Ref<'_, IDispatch>, strclass: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn SubclassesOf( &self, strsuperclass: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>; fn SubclassesOfAsync( &self, objwbemsink: Ref<'_, IDispatch>, strsuperclass: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn ExecQuery( &self, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>; fn ExecQueryAsync( &self, objwbemsink: Ref<'_, IDispatch>, strquery: &BSTR, strquerylanguage: &BSTR, lflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn AssociatorsOf( &self, strobjectpath: &BSTR, strassocclass: &BSTR, strresultclass: &BSTR, strresultrole: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredassocqualifier: &BSTR, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>; fn AssociatorsOfAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, strassocclass: &BSTR, strresultclass: &BSTR, strresultrole: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredassocqualifier: &BSTR, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn ReferencesTo( &self, strobjectpath: &BSTR, strresultclass: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>; fn ReferencesToAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, strresultclass: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn ExecNotificationQuery( &self, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemEventSource>; fn ExecNotificationQueryAsync( &self, objwbemsink: Ref<'_, IDispatch>, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn ExecMethod( &self, strobjectpath: &BSTR, strmethodname: &BSTR, objwbeminparameters: Ref<'_, IDispatch>, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObject>; fn ExecMethodAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, strmethodname: &BSTR, objwbeminparameters: Ref<'_, IDispatch>, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>; fn Security_(&self) -> Result<ISWbemSecurity>;
}

Required Methods§

fn Get( &self, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObject>

fn GetAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn Delete( &self, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<()>

fn DeleteAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn InstancesOf( &self, strclass: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>

fn InstancesOfAsync( &self, objwbemsink: Ref<'_, IDispatch>, strclass: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn SubclassesOf( &self, strsuperclass: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>

fn SubclassesOfAsync( &self, objwbemsink: Ref<'_, IDispatch>, strsuperclass: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn ExecQuery( &self, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>

fn ExecQueryAsync( &self, objwbemsink: Ref<'_, IDispatch>, strquery: &BSTR, strquerylanguage: &BSTR, lflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn AssociatorsOf( &self, strobjectpath: &BSTR, strassocclass: &BSTR, strresultclass: &BSTR, strresultrole: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredassocqualifier: &BSTR, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>

fn AssociatorsOfAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, strassocclass: &BSTR, strresultclass: &BSTR, strresultrole: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredassocqualifier: &BSTR, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn ReferencesTo( &self, strobjectpath: &BSTR, strresultclass: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObjectSet>

fn ReferencesToAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, strresultclass: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn ExecNotificationQuery( &self, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemEventSource>

fn ExecNotificationQueryAsync( &self, objwbemsink: Ref<'_, IDispatch>, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn ExecMethod( &self, strobjectpath: &BSTR, strmethodname: &BSTR, objwbeminparameters: Ref<'_, IDispatch>, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, ) -> Result<ISWbemObject>

fn ExecMethodAsync( &self, objwbemsink: Ref<'_, IDispatch>, strobjectpath: &BSTR, strmethodname: &BSTR, objwbeminparameters: Ref<'_, IDispatch>, iflags: i32, objwbemnamedvalueset: Ref<'_, IDispatch>, objwbemasynccontext: Ref<'_, IDispatch>, ) -> Result<()>

fn Security_(&self) -> Result<ISWbemSecurity>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§