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§
sourcefn GetBool(&self, key: &PROPERTYKEY) -> HrResult<bool>
fn GetBool(&self, key: &PROPERTYKEY) -> HrResult<bool>
IShellItem2::GetBool
method.
sourcefn GetFileTime(&self, key: &PROPERTYKEY) -> HrResult<FILETIME>
fn GetFileTime(&self, key: &PROPERTYKEY) -> HrResult<FILETIME>
IShellItem2::GetFileTime
method.
sourcefn GetInt32(&self, key: &PROPERTYKEY) -> HrResult<i32>
fn GetInt32(&self, key: &PROPERTYKEY) -> HrResult<i32>
IShellItem2::GetInt32
method.
sourcefn GetPropertyStore(&self, flags: GPS) -> HrResult<IPropertyStore>
fn GetPropertyStore(&self, flags: GPS) -> HrResult<IPropertyStore>
IShellItem2::GetPropertyStore
method.
sourcefn GetUInt32(&self, key: &PROPERTYKEY) -> HrResult<u32>
fn GetUInt32(&self, key: &PROPERTYKEY) -> HrResult<u32>
IShellItem2::GetUInt32
method.
sourcefn GetUInt64(&self, key: &PROPERTYKEY) -> HrResult<u64>
fn GetUInt64(&self, key: &PROPERTYKEY) -> HrResult<u64>
IShellItem2::GetUInt64
method.
sourcefn Update(&self, pbc: &impl ole_IBindCtx) -> HrResult<()>
fn Update(&self, pbc: &impl ole_IBindCtx) -> HrResult<()>
IShellItem2::Update
method.
Object Safety§
This trait is not object safe.