Trait windows::Win32::System::Wmi::ISWbemRefresher_Impl

pub trait ISWbemRefresher_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn _NewEnum(&self) -> Result<IUnknown>;
    fn Item(&self, iindex: i32) -> Result<ISWbemRefreshableItem>;
    fn Count(&self) -> Result<i32>;
    fn Add(
        &self,
        objwbemservices: Option<&ISWbemServicesEx>,
        bsinstancepath: &BSTR,
        iflags: i32,
        objwbemnamedvalueset: Option<&IDispatch>,
    ) -> Result<ISWbemRefreshableItem>;
    fn AddEnum(
        &self,
        objwbemservices: Option<&ISWbemServicesEx>,
        bsclassname: &BSTR,
        iflags: i32,
        objwbemnamedvalueset: Option<&IDispatch>,
    ) -> Result<ISWbemRefreshableItem>;
    fn Remove(&self, iindex: i32, iflags: i32) -> Result<()>;
    fn Refresh(&self, iflags: i32) -> Result<()>;
    fn AutoReconnect(&self) -> Result<VARIANT_BOOL>;
    fn SetAutoReconnect(&self, bcount: VARIANT_BOOL) -> Result<()>;
    fn DeleteAll(&self) -> Result<()>;
}

Required Methods§

fn _NewEnum(&self) -> Result<IUnknown>

fn Item(&self, iindex: i32) -> Result<ISWbemRefreshableItem>

fn Count(&self) -> Result<i32>

fn Add( &self, objwbemservices: Option<&ISWbemServicesEx>, bsinstancepath: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemRefreshableItem>

fn AddEnum( &self, objwbemservices: Option<&ISWbemServicesEx>, bsclassname: &BSTR, iflags: i32, objwbemnamedvalueset: Option<&IDispatch>, ) -> Result<ISWbemRefreshableItem>

fn Remove(&self, iindex: i32, iflags: i32) -> Result<()>

fn Refresh(&self, iflags: i32) -> Result<()>

fn AutoReconnect(&self) -> Result<VARIANT_BOOL>

fn SetAutoReconnect(&self, bcount: VARIANT_BOOL) -> Result<()>

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

Object Safety§

This trait is not object safe.

Implementors§