windows::Win32::Devices::FunctionDiscovery

Trait IPropertyStoreCollection_Impl

pub trait IPropertyStoreCollection_Impl: IUnknownImpl {
    // Required methods
    fn GetCount(&self) -> Result<u32>;
    fn Get(
        &self,
        pszinstanceidentity: &PCWSTR,
        pdwindex: *mut u32,
    ) -> Result<IPropertyStore>;
    fn Item(&self, dwindex: u32) -> Result<IPropertyStore>;
    fn Add(&self, pipropertystore: Ref<'_, IPropertyStore>) -> Result<()>;
    fn Remove(&self, dwindex: u32) -> Result<IPropertyStore>;
    fn Delete(&self, dwindex: u32) -> Result<()>;
    fn DeleteAll(&self) -> Result<()>;
}

Required Methods§

fn GetCount(&self) -> Result<u32>

fn Get( &self, pszinstanceidentity: &PCWSTR, pdwindex: *mut u32, ) -> Result<IPropertyStore>

fn Item(&self, dwindex: u32) -> Result<IPropertyStore>

fn Add(&self, pipropertystore: Ref<'_, IPropertyStore>) -> Result<()>

fn Remove(&self, dwindex: u32) -> Result<IPropertyStore>

fn Delete(&self, dwindex: u32) -> Result<()>

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§