Trait windows::Win32::System::Wmi::IWbemClassObject_Impl

pub trait IWbemClassObject_Impl: Sized {
Show 24 methods // Required methods fn GetQualifierSet(&self) -> Result<IWbemQualifierSet>; fn Get( &self, wszname: &PCWSTR, lflags: i32, pval: *mut VARIANT, ptype: *mut i32, plflavor: *mut i32, ) -> Result<()>; fn Put( &self, wszname: &PCWSTR, lflags: i32, pval: *const VARIANT, type: i32, ) -> Result<()>; fn Delete(&self, wszname: &PCWSTR) -> Result<()>; fn GetNames( &self, wszqualifiername: &PCWSTR, lflags: WBEM_CONDITION_FLAG_TYPE, pqualifierval: *const VARIANT, ) -> Result<*mut SAFEARRAY>; fn BeginEnumeration(&self, lenumflags: i32) -> Result<()>; fn Next( &self, lflags: i32, strname: *mut BSTR, pval: *mut VARIANT, ptype: *mut i32, plflavor: *mut i32, ) -> Result<()>; fn EndEnumeration(&self) -> Result<()>; fn GetPropertyQualifierSet( &self, wszproperty: &PCWSTR, ) -> Result<IWbemQualifierSet>; fn Clone(&self) -> Result<IWbemClassObject>; fn GetObjectText(&self, lflags: i32) -> Result<BSTR>; fn SpawnDerivedClass(&self, lflags: i32) -> Result<IWbemClassObject>; fn SpawnInstance(&self, lflags: i32) -> Result<IWbemClassObject>; fn CompareTo( &self, lflags: WBEM_COMPARISON_FLAG, pcompareto: Option<&IWbemClassObject>, ) -> Result<()>; fn GetPropertyOrigin(&self, wszname: &PCWSTR) -> Result<BSTR>; fn InheritsFrom(&self, strancestor: &PCWSTR) -> Result<()>; fn GetMethod( &self, wszname: &PCWSTR, lflags: i32, ppinsignature: *mut Option<IWbemClassObject>, ppoutsignature: *mut Option<IWbemClassObject>, ) -> Result<()>; fn PutMethod( &self, wszname: &PCWSTR, lflags: i32, pinsignature: Option<&IWbemClassObject>, poutsignature: Option<&IWbemClassObject>, ) -> Result<()>; fn DeleteMethod(&self, wszname: &PCWSTR) -> Result<()>; fn BeginMethodEnumeration(&self, lenumflags: i32) -> Result<()>; fn NextMethod( &self, lflags: i32, pstrname: *mut BSTR, ppinsignature: *mut Option<IWbemClassObject>, ppoutsignature: *mut Option<IWbemClassObject>, ) -> Result<()>; fn EndMethodEnumeration(&self) -> Result<()>; fn GetMethodQualifierSet( &self, wszmethod: &PCWSTR, ) -> Result<IWbemQualifierSet>; fn GetMethodOrigin(&self, wszmethodname: &PCWSTR) -> Result<BSTR>;
}

Required Methods§

fn GetQualifierSet(&self) -> Result<IWbemQualifierSet>

fn Get( &self, wszname: &PCWSTR, lflags: i32, pval: *mut VARIANT, ptype: *mut i32, plflavor: *mut i32, ) -> Result<()>

fn Put( &self, wszname: &PCWSTR, lflags: i32, pval: *const VARIANT, type: i32, ) -> Result<()>

fn Delete(&self, wszname: &PCWSTR) -> Result<()>

fn GetNames( &self, wszqualifiername: &PCWSTR, lflags: WBEM_CONDITION_FLAG_TYPE, pqualifierval: *const VARIANT, ) -> Result<*mut SAFEARRAY>

fn BeginEnumeration(&self, lenumflags: i32) -> Result<()>

fn Next( &self, lflags: i32, strname: *mut BSTR, pval: *mut VARIANT, ptype: *mut i32, plflavor: *mut i32, ) -> Result<()>

fn EndEnumeration(&self) -> Result<()>

fn GetPropertyQualifierSet( &self, wszproperty: &PCWSTR, ) -> Result<IWbemQualifierSet>

fn Clone(&self) -> Result<IWbemClassObject>

fn GetObjectText(&self, lflags: i32) -> Result<BSTR>

fn SpawnDerivedClass(&self, lflags: i32) -> Result<IWbemClassObject>

fn SpawnInstance(&self, lflags: i32) -> Result<IWbemClassObject>

fn CompareTo( &self, lflags: WBEM_COMPARISON_FLAG, pcompareto: Option<&IWbemClassObject>, ) -> Result<()>

fn GetPropertyOrigin(&self, wszname: &PCWSTR) -> Result<BSTR>

fn InheritsFrom(&self, strancestor: &PCWSTR) -> Result<()>

fn GetMethod( &self, wszname: &PCWSTR, lflags: i32, ppinsignature: *mut Option<IWbemClassObject>, ppoutsignature: *mut Option<IWbemClassObject>, ) -> Result<()>

fn PutMethod( &self, wszname: &PCWSTR, lflags: i32, pinsignature: Option<&IWbemClassObject>, poutsignature: Option<&IWbemClassObject>, ) -> Result<()>

fn DeleteMethod(&self, wszname: &PCWSTR) -> Result<()>

fn BeginMethodEnumeration(&self, lenumflags: i32) -> Result<()>

fn NextMethod( &self, lflags: i32, pstrname: *mut BSTR, ppinsignature: *mut Option<IWbemClassObject>, ppoutsignature: *mut Option<IWbemClassObject>, ) -> Result<()>

fn EndMethodEnumeration(&self) -> Result<()>

fn GetMethodQualifierSet(&self, wszmethod: &PCWSTR) -> Result<IWbemQualifierSet>

fn GetMethodOrigin(&self, wszmethodname: &PCWSTR) -> Result<BSTR>

Object Safety§

This trait is not object safe.

Implementors§