Trait windows::Win32::System::Wmi::IWbemHiPerfProvider_Impl

pub trait IWbemHiPerfProvider_Impl: Sized {
    // Required methods
    fn QueryInstances(
        &self,
        pnamespace: Option<&IWbemServices>,
        wszclass: &PCWSTR,
        lflags: i32,
        pctx: Option<&IWbemContext>,
        psink: Option<&IWbemObjectSink>,
    ) -> Result<()>;
    fn CreateRefresher(
        &self,
        pnamespace: Option<&IWbemServices>,
        lflags: i32,
    ) -> Result<IWbemRefresher>;
    fn CreateRefreshableObject(
        &self,
        pnamespace: Option<&IWbemServices>,
        ptemplate: Option<&IWbemObjectAccess>,
        prefresher: Option<&IWbemRefresher>,
        lflags: i32,
        pcontext: Option<&IWbemContext>,
        pprefreshable: *mut Option<IWbemObjectAccess>,
        plid: *mut i32,
    ) -> Result<()>;
    fn StopRefreshing(
        &self,
        prefresher: Option<&IWbemRefresher>,
        lid: i32,
        lflags: i32,
    ) -> Result<()>;
    fn CreateRefreshableEnum(
        &self,
        pnamespace: Option<&IWbemServices>,
        wszclass: &PCWSTR,
        prefresher: Option<&IWbemRefresher>,
        lflags: i32,
        pcontext: Option<&IWbemContext>,
        phiperfenum: Option<&IWbemHiPerfEnum>,
    ) -> Result<i32>;
    fn GetObjects(
        &self,
        pnamespace: Option<&IWbemServices>,
        lnumobjects: i32,
        apobj: *mut Option<IWbemObjectAccess>,
        lflags: i32,
        pcontext: Option<&IWbemContext>,
    ) -> Result<()>;
}

Required Methods§

fn QueryInstances( &self, pnamespace: Option<&IWbemServices>, wszclass: &PCWSTR, lflags: i32, pctx: Option<&IWbemContext>, psink: Option<&IWbemObjectSink>, ) -> Result<()>

fn CreateRefresher( &self, pnamespace: Option<&IWbemServices>, lflags: i32, ) -> Result<IWbemRefresher>

fn CreateRefreshableObject( &self, pnamespace: Option<&IWbemServices>, ptemplate: Option<&IWbemObjectAccess>, prefresher: Option<&IWbemRefresher>, lflags: i32, pcontext: Option<&IWbemContext>, pprefreshable: *mut Option<IWbemObjectAccess>, plid: *mut i32, ) -> Result<()>

fn StopRefreshing( &self, prefresher: Option<&IWbemRefresher>, lid: i32, lflags: i32, ) -> Result<()>

fn CreateRefreshableEnum( &self, pnamespace: Option<&IWbemServices>, wszclass: &PCWSTR, prefresher: Option<&IWbemRefresher>, lflags: i32, pcontext: Option<&IWbemContext>, phiperfenum: Option<&IWbemHiPerfEnum>, ) -> Result<i32>

fn GetObjects( &self, pnamespace: Option<&IWbemServices>, lnumobjects: i32, apobj: *mut Option<IWbemObjectAccess>, lflags: i32, pcontext: Option<&IWbemContext>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§