pub struct INamedPropertyBag(/* private fields */);
Implementations§
Source§impl INamedPropertyBag
impl INamedPropertyBag
pub unsafe fn ReadPropertyNPB<'a>( &self, pszbagname: impl IntoParam<'a, PWSTR>, pszpropname: impl IntoParam<'a, PWSTR>, pvar: *mut PROPVARIANT, ) -> Result<()>
pub unsafe fn WritePropertyNPB<'a>( &self, pszbagname: impl IntoParam<'a, PWSTR>, pszpropname: impl IntoParam<'a, PWSTR>, pvar: *mut PROPVARIANT, ) -> Result<()>
pub unsafe fn RemovePropertyNPB<'a>( &self, pszbagname: impl IntoParam<'a, PWSTR>, pszpropname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for INamedPropertyBag
impl Clone for INamedPropertyBag
Source§fn clone(&self) -> INamedPropertyBag
fn clone(&self) -> INamedPropertyBag
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for INamedPropertyBag
impl Debug for INamedPropertyBag
Source§impl From<&INamedPropertyBag> for IUnknown
impl From<&INamedPropertyBag> for IUnknown
Source§fn from(value: &INamedPropertyBag) -> Self
fn from(value: &INamedPropertyBag) -> Self
Converts to this type from the input type.
Source§impl From<INamedPropertyBag> for IUnknown
impl From<INamedPropertyBag> for IUnknown
Source§fn from(value: INamedPropertyBag) -> Self
fn from(value: INamedPropertyBag) -> Self
Converts to this type from the input type.
Source§impl Interface for INamedPropertyBag
impl Interface for INamedPropertyBag
const IID: Guid
type Vtable = INamedPropertyBag_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for INamedPropertyBag
impl PartialEq for INamedPropertyBag
impl Eq for INamedPropertyBag
impl StructuralPartialEq for INamedPropertyBag
Auto Trait Implementations§
impl Freeze for INamedPropertyBag
impl RefUnwindSafe for INamedPropertyBag
impl !Send for INamedPropertyBag
impl !Sync for INamedPropertyBag
impl Unpin for INamedPropertyBag
impl UnwindSafe for INamedPropertyBag
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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