Trait windows::Win32::Media::Speech::ISpNotifySource_Impl

pub trait ISpNotifySource_Impl: Sized {
    // Required methods
    fn SetNotifySink(&self, pnotifysink: Option<&ISpNotifySink>) -> Result<()>;
    fn SetNotifyWindowMessage(
        &self,
        hwnd: HWND,
        msg: u32,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<()>;
    fn SetNotifyCallbackFunction(
        &self,
        pfncallback: *mut SPNOTIFYCALLBACK,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<()>;
    fn SetNotifyCallbackInterface(
        &self,
        pspcallback: Option<&ISpNotifyCallback>,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<()>;
    fn SetNotifyWin32Event(&self) -> Result<()>;
    fn WaitForNotifyEvent(&self, dwmilliseconds: u32) -> Result<()>;
    fn GetNotifyEventHandle(&self) -> HANDLE;
}

Required Methods§

fn SetNotifySink(&self, pnotifysink: Option<&ISpNotifySink>) -> Result<()>

fn SetNotifyWindowMessage( &self, hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>

fn SetNotifyCallbackFunction( &self, pfncallback: *mut SPNOTIFYCALLBACK, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>

fn SetNotifyCallbackInterface( &self, pspcallback: Option<&ISpNotifyCallback>, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>

fn SetNotifyWin32Event(&self) -> Result<()>

fn WaitForNotifyEvent(&self, dwmilliseconds: u32) -> Result<()>

fn GetNotifyEventHandle(&self) -> HANDLE

Object Safety§

This trait is not object safe.

Implementors§