pub struct IPackageExecutionStateChangeNotification(/* private fields */);Implementations§
Source§impl IPackageExecutionStateChangeNotification
impl IPackageExecutionStateChangeNotification
pub unsafe fn OnStateChanged<'a>( &self, pszpackagefullname: impl IntoParam<'a, PWSTR>, pesnewstate: PACKAGE_EXECUTION_STATE, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IPackageExecutionStateChangeNotification
impl Clone for IPackageExecutionStateChangeNotification
Source§fn clone(&self) -> IPackageExecutionStateChangeNotification
fn clone(&self) -> IPackageExecutionStateChangeNotification
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 From<&IPackageExecutionStateChangeNotification> for IUnknown
impl From<&IPackageExecutionStateChangeNotification> for IUnknown
Source§fn from(value: &IPackageExecutionStateChangeNotification) -> Self
fn from(value: &IPackageExecutionStateChangeNotification) -> Self
Converts to this type from the input type.
Source§impl From<IPackageExecutionStateChangeNotification> for IUnknown
impl From<IPackageExecutionStateChangeNotification> for IUnknown
Source§fn from(value: IPackageExecutionStateChangeNotification) -> Self
fn from(value: IPackageExecutionStateChangeNotification) -> Self
Converts to this type from the input type.
Source§impl Interface for IPackageExecutionStateChangeNotification
impl Interface for IPackageExecutionStateChangeNotification
const IID: Guid
type Vtable = IPackageExecutionStateChangeNotification_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 IPackageExecutionStateChangeNotification
impl PartialEq for IPackageExecutionStateChangeNotification
Source§fn eq(&self, other: &IPackageExecutionStateChangeNotification) -> bool
fn eq(&self, other: &IPackageExecutionStateChangeNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IPackageExecutionStateChangeNotification
impl StructuralPartialEq for IPackageExecutionStateChangeNotification
Auto Trait Implementations§
impl Freeze for IPackageExecutionStateChangeNotification
impl RefUnwindSafe for IPackageExecutionStateChangeNotification
impl !Send for IPackageExecutionStateChangeNotification
impl !Sync for IPackageExecutionStateChangeNotification
impl Unpin for IPackageExecutionStateChangeNotification
impl UnwindSafe for IPackageExecutionStateChangeNotification
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