Struct ISpRecognizerVtbl

Source
#[repr(C)]
pub struct ISpRecognizerVtbl {
Show 17 fields pub parent: ISpPropertiesVtbl, pub SetRecognizer: unsafe extern "system" fn(This: *mut ISpRecognizer, pRecognizer: *mut ISpObjectToken) -> HRESULT, pub GetRecognizer: unsafe extern "system" fn(This: *mut ISpRecognizer, ppRecognizer: *mut *mut ISpObjectToken) -> HRESULT, pub SetInput: unsafe extern "system" fn(This: *mut ISpRecognizer, pUnkInput: *mut IUnknown, fAllowFormatChanges: BOOL) -> HRESULT, pub GetInputObjectToken: unsafe extern "system" fn(This: *mut ISpRecognizer, ppToken: *mut *mut ISpObjectToken) -> HRESULT, pub GetInputStream: unsafe extern "system" fn(This: *mut ISpRecognizer, ppStream: *mut *mut ISpStreamFormat) -> HRESULT, pub CreateRecoContext: unsafe extern "system" fn(This: *mut ISpRecognizer, ppNewCtxt: *mut *mut ISpRecoContext) -> HRESULT, pub GetRecoProfile: unsafe extern "system" fn(This: *mut ISpRecognizer, ppToken: *mut *mut ISpObjectToken) -> HRESULT, pub SetRecoProfile: unsafe extern "system" fn(This: *mut ISpRecognizer, pToken: *mut ISpObjectToken) -> HRESULT, pub IsSharedInstance: unsafe extern "system" fn(This: *mut ISpRecognizer) -> HRESULT, pub GetRecoState: unsafe extern "system" fn(This: *mut ISpRecognizer, pState: *mut SPRECOSTATE) -> HRESULT, pub SetRecoState: unsafe extern "system" fn(This: *mut ISpRecognizer, NewState: SPRECOSTATE) -> HRESULT, pub GetStatus: unsafe extern "system" fn(This: *mut ISpRecognizer, pStatus: *mut SPRECOGNIZERSTATUS) -> HRESULT, pub GetFormat: unsafe extern "system" fn(This: *mut ISpRecognizer, WaveFormatType: SPSTREAMFORMATTYPE, pFormatId: *mut GUID, ppCoMemWFEX: *mut WAVEFORMATEX) -> HRESULT, pub IsUISupported: unsafe extern "system" fn(This: *mut ISpRecognizer, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG, pfSupported: *mut BOOL) -> HRESULT, pub DisplayUI: unsafe extern "system" fn(This: *mut ISpRecognizer, hwndParent: HWND, pszTitle: LPCWSTR, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG) -> HRESULT, pub EmulateRecognition: unsafe extern "system" fn(This: *mut ISpRecognizer, pPhrase: *mut ISpPhrase) -> HRESULT,
}

Fields§

§parent: ISpPropertiesVtbl§SetRecognizer: unsafe extern "system" fn(This: *mut ISpRecognizer, pRecognizer: *mut ISpObjectToken) -> HRESULT§GetRecognizer: unsafe extern "system" fn(This: *mut ISpRecognizer, ppRecognizer: *mut *mut ISpObjectToken) -> HRESULT§SetInput: unsafe extern "system" fn(This: *mut ISpRecognizer, pUnkInput: *mut IUnknown, fAllowFormatChanges: BOOL) -> HRESULT§GetInputObjectToken: unsafe extern "system" fn(This: *mut ISpRecognizer, ppToken: *mut *mut ISpObjectToken) -> HRESULT§GetInputStream: unsafe extern "system" fn(This: *mut ISpRecognizer, ppStream: *mut *mut ISpStreamFormat) -> HRESULT§CreateRecoContext: unsafe extern "system" fn(This: *mut ISpRecognizer, ppNewCtxt: *mut *mut ISpRecoContext) -> HRESULT§GetRecoProfile: unsafe extern "system" fn(This: *mut ISpRecognizer, ppToken: *mut *mut ISpObjectToken) -> HRESULT§SetRecoProfile: unsafe extern "system" fn(This: *mut ISpRecognizer, pToken: *mut ISpObjectToken) -> HRESULT§IsSharedInstance: unsafe extern "system" fn(This: *mut ISpRecognizer) -> HRESULT§GetRecoState: unsafe extern "system" fn(This: *mut ISpRecognizer, pState: *mut SPRECOSTATE) -> HRESULT§SetRecoState: unsafe extern "system" fn(This: *mut ISpRecognizer, NewState: SPRECOSTATE) -> HRESULT§GetStatus: unsafe extern "system" fn(This: *mut ISpRecognizer, pStatus: *mut SPRECOGNIZERSTATUS) -> HRESULT§GetFormat: unsafe extern "system" fn(This: *mut ISpRecognizer, WaveFormatType: SPSTREAMFORMATTYPE, pFormatId: *mut GUID, ppCoMemWFEX: *mut WAVEFORMATEX) -> HRESULT§IsUISupported: unsafe extern "system" fn(This: *mut ISpRecognizer, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG, pfSupported: *mut BOOL) -> HRESULT§DisplayUI: unsafe extern "system" fn(This: *mut ISpRecognizer, hwndParent: HWND, pszTitle: LPCWSTR, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG) -> HRESULT§EmulateRecognition: unsafe extern "system" fn(This: *mut ISpRecognizer, pPhrase: *mut ISpPhrase) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.