Trait windows::Win32::System::Wmi::ISWbemPrivilegeSet_Impl

pub trait ISWbemPrivilegeSet_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn _NewEnum(&self) -> Result<IUnknown>;
    fn Item(&self, iprivilege: WbemPrivilegeEnum) -> Result<ISWbemPrivilege>;
    fn Count(&self) -> Result<i32>;
    fn Add(
        &self,
        iprivilege: WbemPrivilegeEnum,
        bisenabled: VARIANT_BOOL,
    ) -> Result<ISWbemPrivilege>;
    fn Remove(&self, iprivilege: WbemPrivilegeEnum) -> Result<()>;
    fn DeleteAll(&self) -> Result<()>;
    fn AddAsString(
        &self,
        strprivilege: &BSTR,
        bisenabled: VARIANT_BOOL,
    ) -> Result<ISWbemPrivilege>;
}

Required Methods§

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

fn Item(&self, iprivilege: WbemPrivilegeEnum) -> Result<ISWbemPrivilege>

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

fn Add( &self, iprivilege: WbemPrivilegeEnum, bisenabled: VARIANT_BOOL, ) -> Result<ISWbemPrivilege>

fn Remove(&self, iprivilege: WbemPrivilegeEnum) -> Result<()>

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

fn AddAsString( &self, strprivilege: &BSTR, bisenabled: VARIANT_BOOL, ) -> Result<ISWbemPrivilege>

Object Safety§

This trait is not object safe.

Implementors§