Trait windows::Win32::Media::Speech::ISpRecognizer_Impl

pub trait ISpRecognizer_Impl: Sized + ISpProperties_Impl {
Show 16 methods // Required methods fn SetRecognizer(&self, precognizer: Option<&ISpObjectToken>) -> Result<()>; fn GetRecognizer(&self) -> Result<ISpObjectToken>; fn SetInput( &self, punkinput: Option<&IUnknown>, fallowformatchanges: BOOL, ) -> Result<()>; fn GetInputObjectToken(&self) -> Result<ISpObjectToken>; fn GetInputStream(&self) -> Result<ISpStreamFormat>; fn CreateRecoContext(&self) -> Result<ISpRecoContext>; fn GetRecoProfile(&self) -> Result<ISpObjectToken>; fn SetRecoProfile(&self, ptoken: Option<&ISpObjectToken>) -> Result<()>; fn IsSharedInstance(&self) -> Result<()>; fn GetRecoState(&self, pstate: *mut SPRECOSTATE) -> Result<()>; fn SetRecoState(&self, newstate: SPRECOSTATE) -> Result<()>; fn GetStatus(&self, pstatus: *mut SPRECOGNIZERSTATUS) -> Result<()>; fn GetFormat( &self, waveformattype: SPSTREAMFORMATTYPE, pformatid: *mut GUID, ppcomemwfex: *mut *mut WAVEFORMATEX, ) -> Result<()>; fn IsUISupported( &self, psztypeofui: &PCWSTR, pvextradata: *mut c_void, cbextradata: u32, pfsupported: *mut BOOL, ) -> Result<()>; fn DisplayUI( &self, hwndparent: HWND, psztitle: &PCWSTR, psztypeofui: &PCWSTR, pvextradata: *mut c_void, cbextradata: u32, ) -> Result<()>; fn EmulateRecognition(&self, pphrase: Option<&ISpPhrase>) -> Result<()>;
}

Required Methods§

fn SetRecognizer(&self, precognizer: Option<&ISpObjectToken>) -> Result<()>

fn GetRecognizer(&self) -> Result<ISpObjectToken>

fn SetInput( &self, punkinput: Option<&IUnknown>, fallowformatchanges: BOOL, ) -> Result<()>

fn GetInputObjectToken(&self) -> Result<ISpObjectToken>

fn GetInputStream(&self) -> Result<ISpStreamFormat>

fn CreateRecoContext(&self) -> Result<ISpRecoContext>

fn GetRecoProfile(&self) -> Result<ISpObjectToken>

fn SetRecoProfile(&self, ptoken: Option<&ISpObjectToken>) -> Result<()>

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

fn GetRecoState(&self, pstate: *mut SPRECOSTATE) -> Result<()>

fn SetRecoState(&self, newstate: SPRECOSTATE) -> Result<()>

fn GetStatus(&self, pstatus: *mut SPRECOGNIZERSTATUS) -> Result<()>

fn GetFormat( &self, waveformattype: SPSTREAMFORMATTYPE, pformatid: *mut GUID, ppcomemwfex: *mut *mut WAVEFORMATEX, ) -> Result<()>

fn IsUISupported( &self, psztypeofui: &PCWSTR, pvextradata: *mut c_void, cbextradata: u32, pfsupported: *mut BOOL, ) -> Result<()>

fn DisplayUI( &self, hwndparent: HWND, psztitle: &PCWSTR, psztypeofui: &PCWSTR, pvextradata: *mut c_void, cbextradata: u32, ) -> Result<()>

fn EmulateRecognition(&self, pphrase: Option<&ISpPhrase>) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§