windows::Win32::UI::Shell::PropertiesSystem

Trait IPropertyStoreCache_Impl

pub trait IPropertyStoreCache_Impl: IPropertyStore_Impl {
    // Required methods
    fn GetState(&self, key: *const PROPERTYKEY) -> Result<PSC_STATE>;
    fn GetValueAndState(
        &self,
        key: *const PROPERTYKEY,
        ppropvar: *mut PROPVARIANT,
        pstate: *mut PSC_STATE,
    ) -> Result<()>;
    fn SetState(&self, key: *const PROPERTYKEY, state: PSC_STATE) -> Result<()>;
    fn SetValueAndState(
        &self,
        key: *const PROPERTYKEY,
        ppropvar: *const PROPVARIANT,
        state: PSC_STATE,
    ) -> Result<()>;
}

Required Methods§

fn GetState(&self, key: *const PROPERTYKEY) -> Result<PSC_STATE>

fn GetValueAndState( &self, key: *const PROPERTYKEY, ppropvar: *mut PROPVARIANT, pstate: *mut PSC_STATE, ) -> Result<()>

fn SetState(&self, key: *const PROPERTYKEY, state: PSC_STATE) -> Result<()>

fn SetValueAndState( &self, key: *const PROPERTYKEY, ppropvar: *const PROPVARIANT, state: PSC_STATE, ) -> 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§