Trait winsafe::prelude::shell_IShellItem2

source ·
pub trait shell_IShellItem2: shell_IShellItem {
    // Provided methods
    fn GetBool(&self, key: &PROPERTYKEY) -> HrResult<bool> { ... }
    fn GetFileTime(&self, key: &PROPERTYKEY) -> HrResult<FILETIME> { ... }
    fn GetInt32(&self, key: &PROPERTYKEY) -> HrResult<i32> { ... }
    fn GetPropertyStore(&self, flags: GPS) -> HrResult<IPropertyStore> { ... }
    fn GetUInt32(&self, key: &PROPERTYKEY) -> HrResult<u32> { ... }
    fn GetUInt64(&self, key: &PROPERTYKEY) -> HrResult<u64> { ... }
    fn Update(&self, pbc: &impl ole_IBindCtx) -> HrResult<()> { ... }
}
Available on crate features kernel and shell only.
Expand description

This trait is enabled with the shell feature, and provides methods for IShellItem2.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§