Trait windows::Win32::System::Wmi::IWbemServices_Impl
pub trait IWbemServices_Impl: Sized {
Show 23 methods
// Required methods
fn OpenNamespace(
&self,
strnamespace: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
ppworkingnamespace: *mut Option<IWbemServices>,
ppresult: *mut Option<IWbemCallResult>,
) -> Result<()>;
fn CancelAsyncCall(&self, psink: Option<&IWbemObjectSink>) -> Result<()>;
fn QueryObjectSink(
&self,
lflags: WBEM_GENERIC_FLAG_TYPE,
) -> Result<IWbemObjectSink>;
fn GetObject(
&self,
strobjectpath: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
ppobject: *mut Option<IWbemClassObject>,
ppcallresult: *mut Option<IWbemCallResult>,
) -> Result<()>;
fn GetObjectAsync(
&self,
strobjectpath: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn PutClass(
&self,
pobject: Option<&IWbemClassObject>,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
ppcallresult: *mut Option<IWbemCallResult>,
) -> Result<()>;
fn PutClassAsync(
&self,
pobject: Option<&IWbemClassObject>,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn DeleteClass(
&self,
strclass: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
ppcallresult: *mut Option<IWbemCallResult>,
) -> Result<()>;
fn DeleteClassAsync(
&self,
strclass: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn CreateClassEnum(
&self,
strsuperclass: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
) -> Result<IEnumWbemClassObject>;
fn CreateClassEnumAsync(
&self,
strsuperclass: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn PutInstance(
&self,
pinst: Option<&IWbemClassObject>,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
ppcallresult: *mut Option<IWbemCallResult>,
) -> Result<()>;
fn PutInstanceAsync(
&self,
pinst: Option<&IWbemClassObject>,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn DeleteInstance(
&self,
strobjectpath: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
ppcallresult: *mut Option<IWbemCallResult>,
) -> Result<()>;
fn DeleteInstanceAsync(
&self,
strobjectpath: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn CreateInstanceEnum(
&self,
strfilter: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
) -> Result<IEnumWbemClassObject>;
fn CreateInstanceEnumAsync(
&self,
strfilter: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn ExecQuery(
&self,
strquerylanguage: &BSTR,
strquery: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
) -> Result<IEnumWbemClassObject>;
fn ExecQueryAsync(
&self,
strquerylanguage: &BSTR,
strquery: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn ExecNotificationQuery(
&self,
strquerylanguage: &BSTR,
strquery: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
) -> Result<IEnumWbemClassObject>;
fn ExecNotificationQueryAsync(
&self,
strquerylanguage: &BSTR,
strquery: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
fn ExecMethod(
&self,
strobjectpath: &BSTR,
strmethodname: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
pinparams: Option<&IWbemClassObject>,
ppoutparams: *mut Option<IWbemClassObject>,
ppcallresult: *mut Option<IWbemCallResult>,
) -> Result<()>;
fn ExecMethodAsync(
&self,
strobjectpath: &BSTR,
strmethodname: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Option<&IWbemContext>,
pinparams: Option<&IWbemClassObject>,
presponsehandler: Option<&IWbemObjectSink>,
) -> Result<()>;
}
Required Methods§
fn OpenNamespace( &self, strnamespace: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ppworkingnamespace: *mut Option<IWbemServices>, ppresult: *mut Option<IWbemCallResult>, ) -> Result<()>
fn CancelAsyncCall(&self, psink: Option<&IWbemObjectSink>) -> Result<()>
fn QueryObjectSink( &self, lflags: WBEM_GENERIC_FLAG_TYPE, ) -> Result<IWbemObjectSink>
fn GetObject( &self, strobjectpath: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ppobject: *mut Option<IWbemClassObject>, ppcallresult: *mut Option<IWbemCallResult>, ) -> Result<()>
fn GetObjectAsync( &self, strobjectpath: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn PutClass( &self, pobject: Option<&IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ppcallresult: *mut Option<IWbemCallResult>, ) -> Result<()>
fn PutClassAsync( &self, pobject: Option<&IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn DeleteClass( &self, strclass: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ppcallresult: *mut Option<IWbemCallResult>, ) -> Result<()>
fn DeleteClassAsync( &self, strclass: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn CreateClassEnum( &self, strsuperclass: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ) -> Result<IEnumWbemClassObject>
fn CreateClassEnumAsync( &self, strsuperclass: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn PutInstance( &self, pinst: Option<&IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ppcallresult: *mut Option<IWbemCallResult>, ) -> Result<()>
fn PutInstanceAsync( &self, pinst: Option<&IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn DeleteInstance( &self, strobjectpath: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ppcallresult: *mut Option<IWbemCallResult>, ) -> Result<()>
fn DeleteInstanceAsync( &self, strobjectpath: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn CreateInstanceEnum( &self, strfilter: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ) -> Result<IEnumWbemClassObject>
fn CreateInstanceEnumAsync( &self, strfilter: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn ExecQuery( &self, strquerylanguage: &BSTR, strquery: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ) -> Result<IEnumWbemClassObject>
fn ExecQueryAsync( &self, strquerylanguage: &BSTR, strquery: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn ExecNotificationQuery( &self, strquerylanguage: &BSTR, strquery: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, ) -> Result<IEnumWbemClassObject>
fn ExecNotificationQueryAsync( &self, strquerylanguage: &BSTR, strquery: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
fn ExecMethod( &self, strobjectpath: &BSTR, strmethodname: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, pinparams: Option<&IWbemClassObject>, ppoutparams: *mut Option<IWbemClassObject>, ppcallresult: *mut Option<IWbemCallResult>, ) -> Result<()>
fn ExecMethodAsync( &self, strobjectpath: &BSTR, strmethodname: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Option<&IWbemContext>, pinparams: Option<&IWbemClassObject>, presponsehandler: Option<&IWbemObjectSink>, ) -> Result<()>
Object Safety§
This trait is not object safe.