Trait windows::Win32::System::Wmi::IWbemObjectSinkEx_Impl

pub trait IWbemObjectSinkEx_Impl: Sized + IWbemObjectSink_Impl {
    // Required methods
    fn WriteMessage(&self, uchannel: u32, strmessage: &BSTR) -> Result<()>;
    fn WriteError(&self, pobjerror: Option<&IWbemClassObject>) -> Result<u8>;
    fn PromptUser(&self, strmessage: &BSTR, uprompttype: u8) -> Result<u8>;
    fn WriteProgress(
        &self,
        stractivity: &BSTR,
        strcurrentoperation: &BSTR,
        strstatusdescription: &BSTR,
        upercentcomplete: u32,
        usecondsremaining: u32,
    ) -> Result<()>;
    fn WriteStreamParameter(
        &self,
        strname: &BSTR,
        vtvalue: *const VARIANT,
        ultype: u32,
        ulflags: u32,
    ) -> Result<()>;
}

Required Methods§

fn WriteMessage(&self, uchannel: u32, strmessage: &BSTR) -> Result<()>

fn WriteError(&self, pobjerror: Option<&IWbemClassObject>) -> Result<u8>

fn PromptUser(&self, strmessage: &BSTR, uprompttype: u8) -> Result<u8>

fn WriteProgress( &self, stractivity: &BSTR, strcurrentoperation: &BSTR, strstatusdescription: &BSTR, upercentcomplete: u32, usecondsremaining: u32, ) -> Result<()>

fn WriteStreamParameter( &self, strname: &BSTR, vtvalue: *const VARIANT, ultype: u32, ulflags: u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§