windows::Win32::UI::Shell

Trait IUserNotification_Impl

pub trait IUserNotification_Impl: IUnknownImpl {
    // Required methods
    fn SetBalloonInfo(
        &self,
        psztitle: &PCWSTR,
        psztext: &PCWSTR,
        dwinfoflags: u32,
    ) -> Result<()>;
    fn SetBalloonRetry(
        &self,
        dwshowtime: u32,
        dwinterval: u32,
        cretrycount: u32,
    ) -> Result<()>;
    fn SetIconInfo(&self, hicon: HICON, psztooltip: &PCWSTR) -> Result<()>;
    fn Show(
        &self,
        pqc: Ref<'_, IQueryContinue>,
        dwcontinuepollinterval: u32,
    ) -> Result<()>;
    fn PlaySound(&self, pszsoundname: &PCWSTR) -> Result<()>;
}

Required Methods§

fn SetBalloonInfo( &self, psztitle: &PCWSTR, psztext: &PCWSTR, dwinfoflags: u32, ) -> Result<()>

fn SetBalloonRetry( &self, dwshowtime: u32, dwinterval: u32, cretrycount: u32, ) -> Result<()>

fn SetIconInfo(&self, hicon: HICON, psztooltip: &PCWSTR) -> Result<()>

fn Show( &self, pqc: Ref<'_, IQueryContinue>, dwcontinuepollinterval: u32, ) -> Result<()>

fn PlaySound(&self, pszsoundname: &PCWSTR) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§