Trait windows::Win32::Media::Speech::ISpThreadTask_Impl

pub trait ISpThreadTask_Impl: Sized {
    // Required methods
    fn InitThread(&self, pvtaskdata: *mut c_void, hwnd: HWND) -> Result<()>;
    fn ThreadProc(
        &self,
        pvtaskdata: *mut c_void,
        hexitthreadevent: HANDLE,
        hnotifyevent: HANDLE,
        hwndworker: HWND,
        pfcontinueprocessing: *const i32,
    ) -> Result<()>;
    fn WindowMessage(
        &self,
        pvtaskdata: *mut c_void,
        hwnd: HWND,
        msg: u32,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> LRESULT;
}

Required Methods§

fn InitThread(&self, pvtaskdata: *mut c_void, hwnd: HWND) -> Result<()>

fn ThreadProc( &self, pvtaskdata: *mut c_void, hexitthreadevent: HANDLE, hnotifyevent: HANDLE, hwndworker: HWND, pfcontinueprocessing: *const i32, ) -> Result<()>

fn WindowMessage( &self, pvtaskdata: *mut c_void, hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> LRESULT

Object Safety§

This trait is not object safe.

Implementors§