pub struct IPropertyStore(/* private fields */);
Available on crate feature
oleaut
only.Expand description
IPropertyStore
COM interface.
Automatically calls
IUnknown::Release
when the object goes out of scope.
Usually, this interface is taken via
IShellItem::BindToHandler
.
Trait Implementations§
Source§impl Clone for IPropertyStore
impl Clone for IPropertyStore
Source§impl Drop for IPropertyStore
impl Drop for IPropertyStore
Source§impl ole_IUnknown for IPropertyStore
impl ole_IUnknown for IPropertyStore
Source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
Source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
Source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
Source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
Source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.Source§impl oleaut_IPropertyStore for IPropertyStore
impl oleaut_IPropertyStore for IPropertyStore
Source§fn iter(&self) -> HrResult<impl Iterator<Item = HrResult<PROPERTYKEY>> + '_>
fn iter(&self) -> HrResult<impl Iterator<Item = HrResult<PROPERTYKEY>> + '_>
Returns an iterator over the
PROPERTYKEY
elements by calling
IPropertyStore::GetCount
and
IPropertyStore::GetAt
consecutively. Read moreSource§fn GetAt(&self, index: u32) -> HrResult<PROPERTYKEY>
fn GetAt(&self, index: u32) -> HrResult<PROPERTYKEY>
IPropertyStore::GetAt
method.Source§fn GetValue(&self, key: &PROPERTYKEY) -> HrResult<PropVariant>
fn GetValue(&self, key: &PROPERTYKEY) -> HrResult<PropVariant>
IPropertyStore::GetValue
method.Source§fn SetValue(&self, key: &PROPERTYKEY, value: &PropVariant) -> HrResult<()>
fn SetValue(&self, key: &PROPERTYKEY, value: &PropVariant) -> HrResult<()>
IPropertyStore::SetValue
method.impl Send for IPropertyStore
Auto Trait Implementations§
impl Freeze for IPropertyStore
impl RefUnwindSafe for IPropertyStore
impl !Sync for IPropertyStore
impl Unpin for IPropertyStore
impl UnwindSafe for IPropertyStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more