#[repr(C)]pub struct ISpRecognizer {
pub lpVtbl: *const ISpRecognizerVtbl,
}
Fields§
§lpVtbl: *const ISpRecognizerVtbl
Implementations§
Source§impl ISpRecognizer
impl ISpRecognizer
pub unsafe fn SetRecognizer(&self, pRecognizer: *mut ISpObjectToken) -> HRESULT
pub unsafe fn GetRecognizer( &self, ppRecognizer: *mut *mut ISpObjectToken, ) -> HRESULT
pub unsafe fn SetInput( &self, pUnkInput: *mut IUnknown, fAllowFormatChanges: BOOL, ) -> HRESULT
pub unsafe fn GetInputObjectToken( &self, ppToken: *mut *mut ISpObjectToken, ) -> HRESULT
pub unsafe fn GetInputStream( &self, ppStream: *mut *mut ISpStreamFormat, ) -> HRESULT
pub unsafe fn CreateRecoContext( &self, ppNewCtxt: *mut *mut ISpRecoContext, ) -> HRESULT
pub unsafe fn GetRecoProfile( &self, ppToken: *mut *mut ISpObjectToken, ) -> HRESULT
pub unsafe fn SetRecoProfile(&self, pToken: *mut ISpObjectToken) -> HRESULT
pub unsafe fn GetRecoState(&self, pState: *mut SPRECOSTATE) -> HRESULT
pub unsafe fn SetRecoState(&self, NewState: SPRECOSTATE) -> HRESULT
pub unsafe fn GetStatus(&self, pStatus: *mut SPRECOGNIZERSTATUS) -> HRESULT
pub unsafe fn GetFormat( &self, WaveFormatType: SPSTREAMFORMATTYPE, pFormatId: *mut GUID, ppCoMemWFEX: *mut WAVEFORMATEX, ) -> HRESULT
pub unsafe fn IsUISupported( &self, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG, pfSupported: *mut BOOL, ) -> HRESULT
pub unsafe fn DisplayUI( &self, hwndParent: HWND, pszTitle: LPCWSTR, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG, ) -> HRESULT
pub unsafe fn EmulateRecognition(&self, pPhrase: *mut ISpPhrase) -> HRESULT
Methods from Deref<Target = ISpProperties>§
pub unsafe fn SetPropertyNum(&self, pName: LPCWSTR, lValue: LONG) -> HRESULT
pub unsafe fn GetPropertyNum( &self, pName: LPCWSTR, plValue: *mut LONG, ) -> HRESULT
pub unsafe fn SetPropertyString( &self, pName: LPCWSTR, pValue: LPCWSTR, ) -> HRESULT
pub unsafe fn GetPropertyString( &self, pName: LPCWSTR, ppCoMemValue: *mut LPWSTR, ) -> HRESULT
Trait Implementations§
Source§impl Deref for ISpRecognizer
impl Deref for ISpRecognizer
Source§type Target = ISpProperties
type Target = ISpProperties
The resulting type after dereferencing.
Source§fn deref(&self) -> &ISpProperties
fn deref(&self) -> &ISpProperties
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ISpRecognizer
impl RefUnwindSafe for ISpRecognizer
impl !Send for ISpRecognizer
impl !Sync for ISpRecognizer
impl Unpin for ISpRecognizer
impl UnwindSafe for ISpRecognizer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more