Trait windows::Win32::System::Wmi::IWbemContext_Impl

pub trait IWbemContext_Impl: Sized {
    // Required methods
    fn Clone(&self) -> Result<IWbemContext>;
    fn GetNames(&self, lflags: i32) -> Result<*mut SAFEARRAY>;
    fn BeginEnumeration(&self, lflags: i32) -> Result<()>;
    fn Next(
        &self,
        lflags: i32,
        pstrname: *mut BSTR,
        pvalue: *mut VARIANT,
    ) -> Result<()>;
    fn EndEnumeration(&self) -> Result<()>;
    fn SetValue(
        &self,
        wszname: &PCWSTR,
        lflags: i32,
        pvalue: *const VARIANT,
    ) -> Result<()>;
    fn GetValue(&self, wszname: &PCWSTR, lflags: i32) -> Result<VARIANT>;
    fn DeleteValue(&self, wszname: &PCWSTR, lflags: i32) -> Result<()>;
    fn DeleteAll(&self) -> Result<()>;
}

Required Methods§

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

fn GetNames(&self, lflags: i32) -> Result<*mut SAFEARRAY>

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

fn Next( &self, lflags: i32, pstrname: *mut BSTR, pvalue: *mut VARIANT, ) -> Result<()>

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

fn SetValue( &self, wszname: &PCWSTR, lflags: i32, pvalue: *const VARIANT, ) -> Result<()>

fn GetValue(&self, wszname: &PCWSTR, lflags: i32) -> Result<VARIANT>

fn DeleteValue(&self, wszname: &PCWSTR, lflags: i32) -> Result<()>

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

Object Safety§

This trait is not object safe.

Implementors§