pub struct IUserNotification(/* private fields */);
Implementations§
Source§impl IUserNotification
impl IUserNotification
pub unsafe fn SetBalloonInfo<'a>( &self, psztitle: impl IntoParam<'a, PWSTR>, psztext: impl IntoParam<'a, PWSTR>, dwinfoflags: u32, ) -> Result<()>
pub unsafe fn SetBalloonRetry( &self, dwshowtime: u32, dwinterval: u32, cretrycount: u32, ) -> Result<()>
pub unsafe fn SetIconInfo<'a>( &self, hicon: impl IntoParam<'a, HICON>, psztooltip: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn Show<'a>( &self, pqc: impl IntoParam<'a, IQueryContinue>, dwcontinuepollinterval: u32, ) -> Result<()>
pub unsafe fn PlaySound<'a>( &self, pszsoundname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IUserNotification
impl Clone for IUserNotification
Source§fn clone(&self) -> IUserNotification
fn clone(&self) -> IUserNotification
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 IUserNotification
impl Debug for IUserNotification
Source§impl From<&IUserNotification> for IUnknown
impl From<&IUserNotification> for IUnknown
Source§fn from(value: &IUserNotification) -> Self
fn from(value: &IUserNotification) -> Self
Converts to this type from the input type.
Source§impl From<IUserNotification> for IUnknown
impl From<IUserNotification> for IUnknown
Source§fn from(value: IUserNotification) -> Self
fn from(value: IUserNotification) -> Self
Converts to this type from the input type.
Source§impl Interface for IUserNotification
impl Interface for IUserNotification
const IID: Guid
type Vtable = IUserNotification_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 IUserNotification
impl PartialEq for IUserNotification
impl Eq for IUserNotification
impl StructuralPartialEq for IUserNotification
Auto Trait Implementations§
impl Freeze for IUserNotification
impl RefUnwindSafe for IUserNotification
impl !Send for IUserNotification
impl !Sync for IUserNotification
impl Unpin for IUserNotification
impl UnwindSafe for IUserNotification
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