Trait windows::Win32::System::Wmi::ISWbemServices_Impl
pub trait ISWbemServices_Impl: Sized + IDispatch_Impl {
Show 19 methods
// Required methods
fn Get(
&self,
strobjectpath: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
) -> Result<ISWbemObject>;
fn GetAsync(
&self,
objwbemsink: Option<&IDispatch>,
strobjectpath: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&IDispatch>,
) -> Result<()>;
fn Delete(
&self,
strobjectpath: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
) -> Result<()>;
fn DeleteAsync(
&self,
objwbemsink: Option<&IDispatch>,
strobjectpath: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&IDispatch>,
) -> Result<()>;
fn InstancesOf(
&self,
strclass: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
) -> Result<ISWbemObjectSet>;
fn InstancesOfAsync(
&self,
objwbemsink: Option<&IDispatch>,
strclass: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&IDispatch>,
) -> Result<()>;
fn SubclassesOf(
&self,
strsuperclass: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
) -> Result<ISWbemObjectSet>;
fn SubclassesOfAsync(
&self,
objwbemsink: Option<&IDispatch>,
strsuperclass: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&IDispatch>,
) -> Result<()>;
fn ExecQuery(
&self,
strquery: &BSTR,
strquerylanguage: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
) -> Result<ISWbemObjectSet>;
fn ExecQueryAsync(
&self,
objwbemsink: Option<&IDispatch>,
strquery: &BSTR,
strquerylanguage: &BSTR,
lflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&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: Option<&IDispatch>,
) -> Result<ISWbemObjectSet>;
fn AssociatorsOfAsync(
&self,
objwbemsink: Option<&IDispatch>,
strobjectpath: &BSTR,
strassocclass: &BSTR,
strresultclass: &BSTR,
strresultrole: &BSTR,
strrole: &BSTR,
bclassesonly: VARIANT_BOOL,
bschemaonly: VARIANT_BOOL,
strrequiredassocqualifier: &BSTR,
strrequiredqualifier: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&IDispatch>,
) -> Result<()>;
fn ReferencesTo(
&self,
strobjectpath: &BSTR,
strresultclass: &BSTR,
strrole: &BSTR,
bclassesonly: VARIANT_BOOL,
bschemaonly: VARIANT_BOOL,
strrequiredqualifier: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
) -> Result<ISWbemObjectSet>;
fn ReferencesToAsync(
&self,
objwbemsink: Option<&IDispatch>,
strobjectpath: &BSTR,
strresultclass: &BSTR,
strrole: &BSTR,
bclassesonly: VARIANT_BOOL,
bschemaonly: VARIANT_BOOL,
strrequiredqualifier: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&IDispatch>,
) -> Result<()>;
fn ExecNotificationQuery(
&self,
strquery: &BSTR,
strquerylanguage: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
) -> Result<ISWbemEventSource>;
fn ExecNotificationQueryAsync(
&self,
objwbemsink: Option<&IDispatch>,
strquery: &BSTR,
strquerylanguage: &BSTR,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&IDispatch>,
) -> Result<()>;
fn ExecMethod(
&self,
strobjectpath: &BSTR,
strmethodname: &BSTR,
objwbeminparameters: Option<&IDispatch>,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
) -> Result<ISWbemObject>;
fn ExecMethodAsync(
&self,
objwbemsink: Option<&IDispatch>,
strobjectpath: &BSTR,
strmethodname: &BSTR,
objwbeminparameters: Option<&IDispatch>,
iflags: i32,
objwbemnamedvalueset: Option<&IDispatch>,
objwbemasynccontext: Option<&IDispatch>,
) -> Result<()>;
fn Security_(&self) -> Result<ISWbemSecurity>;
}
Required Methods§
fn Get( &self, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemObject>
fn GetAsync( &self, objwbemsink: Option<&IDispatch>, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&IDispatch>, ) -> Result<()>
fn Delete( &self, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<()>
fn DeleteAsync( &self, objwbemsink: Option<&IDispatch>, strobjectpath: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&IDispatch>, ) -> Result<()>
fn InstancesOf( &self, strclass: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemObjectSet>
fn InstancesOfAsync( &self, objwbemsink: Option<&IDispatch>, strclass: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&IDispatch>, ) -> Result<()>
fn SubclassesOf( &self, strsuperclass: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemObjectSet>
fn SubclassesOfAsync( &self, objwbemsink: Option<&IDispatch>, strsuperclass: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&IDispatch>, ) -> Result<()>
fn ExecQuery( &self, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemObjectSet>
fn ExecQueryAsync( &self, objwbemsink: Option<&IDispatch>, strquery: &BSTR, strquerylanguage: &BSTR, lflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&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: Option<&IDispatch>, ) -> Result<ISWbemObjectSet>
fn AssociatorsOfAsync( &self, objwbemsink: Option<&IDispatch>, strobjectpath: &BSTR, strassocclass: &BSTR, strresultclass: &BSTR, strresultrole: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredassocqualifier: &BSTR, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&IDispatch>, ) -> Result<()>
fn ReferencesTo( &self, strobjectpath: &BSTR, strresultclass: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemObjectSet>
fn ReferencesToAsync( &self, objwbemsink: Option<&IDispatch>, strobjectpath: &BSTR, strresultclass: &BSTR, strrole: &BSTR, bclassesonly: VARIANT_BOOL, bschemaonly: VARIANT_BOOL, strrequiredqualifier: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&IDispatch>, ) -> Result<()>
fn ExecNotificationQuery( &self, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemEventSource>
fn ExecNotificationQueryAsync( &self, objwbemsink: Option<&IDispatch>, strquery: &BSTR, strquerylanguage: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&IDispatch>, ) -> Result<()>
fn ExecMethod( &self, strobjectpath: &BSTR, strmethodname: &BSTR, objwbeminparameters: Option<&IDispatch>, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemObject>
fn ExecMethodAsync( &self, objwbemsink: Option<&IDispatch>, strobjectpath: &BSTR, strmethodname: &BSTR, objwbeminparameters: Option<&IDispatch>, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, objwbemasynccontext: Option<&IDispatch>, ) -> Result<()>
fn Security_(&self) -> Result<ISWbemSecurity>
Object Safety§
This trait is not object safe.