pub struct IUserNotification2(/* private fields */);
Implementations§
Source§impl IUserNotification2
impl IUserNotification2
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, psink: impl IntoParam<'a, IUserNotificationCallback>, ) -> Result<()>
pub unsafe fn PlaySound<'a>( &self, pszsoundname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IUserNotification2
impl Clone for IUserNotification2
Source§fn clone(&self) -> IUserNotification2
fn clone(&self) -> IUserNotification2
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 IUserNotification2
impl Debug for IUserNotification2
Source§impl From<&IUserNotification2> for IUnknown
impl From<&IUserNotification2> for IUnknown
Source§fn from(value: &IUserNotification2) -> Self
fn from(value: &IUserNotification2) -> Self
Converts to this type from the input type.
Source§impl From<IUserNotification2> for IUnknown
impl From<IUserNotification2> for IUnknown
Source§fn from(value: IUserNotification2) -> Self
fn from(value: IUserNotification2) -> Self
Converts to this type from the input type.
Source§impl Interface for IUserNotification2
impl Interface for IUserNotification2
const IID: Guid
type Vtable = IUserNotification2_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 IUserNotification2
impl PartialEq for IUserNotification2
impl Eq for IUserNotification2
impl StructuralPartialEq for IUserNotification2
Auto Trait Implementations§
impl Freeze for IUserNotification2
impl RefUnwindSafe for IUserNotification2
impl !Send for IUserNotification2
impl !Sync for IUserNotification2
impl Unpin for IUserNotification2
impl UnwindSafe for IUserNotification2
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