windows::Win32::Media::Speech

Trait ISpNotifyTranslator_Impl

pub trait ISpNotifyTranslator_Impl: ISpNotifySink_Impl {
    // Required methods
    fn InitWindowMessage(
        &self,
        hwnd: HWND,
        msg: u32,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<()>;
    fn InitCallback(
        &self,
        pfncallback: *mut SPNOTIFYCALLBACK,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<()>;
    fn InitSpNotifyCallback(
        &self,
        pspcallback: Ref<'_, ISpNotifyCallback>,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<()>;
    fn InitWin32Event(
        &self,
        hevent: HANDLE,
        fclosehandleonrelease: BOOL,
    ) -> Result<()>;
    fn Wait(&self, dwmilliseconds: u32) -> Result<()>;
    fn GetEventHandle(&self) -> HANDLE;
}

Required Methods§

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

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

fn InitSpNotifyCallback( &self, pspcallback: Ref<'_, ISpNotifyCallback>, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>

fn InitWin32Event( &self, hevent: HANDLE, fclosehandleonrelease: BOOL, ) -> Result<()>

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

fn GetEventHandle(&self) -> HANDLE

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§