Trait windows::Win32::Media::Speech::ISpThreadControl_Impl

pub trait ISpThreadControl_Impl: Sized + ISpNotifySink_Impl {
    // Required methods
    fn StartThread(&self, dwflags: u32) -> Result<HWND>;
    fn WaitForThreadDone(
        &self,
        fforcestop: BOOL,
        phrthreadresult: *mut HRESULT,
        mstimeout: u32,
    ) -> Result<()>;
    fn TerminateThread(&self) -> Result<()>;
    fn ThreadHandle(&self) -> HANDLE;
    fn ThreadId(&self) -> u32;
    fn NotifyEvent(&self) -> HANDLE;
    fn WindowHandle(&self) -> HWND;
    fn ThreadCompleteEvent(&self) -> HANDLE;
    fn ExitThreadEvent(&self) -> HANDLE;
}

Required Methods§

fn StartThread(&self, dwflags: u32) -> Result<HWND>

fn WaitForThreadDone( &self, fforcestop: BOOL, phrthreadresult: *mut HRESULT, mstimeout: u32, ) -> Result<()>

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

fn ThreadHandle(&self) -> HANDLE

fn ThreadId(&self) -> u32

fn NotifyEvent(&self) -> HANDLE

fn WindowHandle(&self) -> HWND

fn ThreadCompleteEvent(&self) -> HANDLE

fn ExitThreadEvent(&self) -> HANDLE

Object Safety§

This trait is not object safe.

Implementors§