#[repr(C)]pub struct ISpSREngineVtbl {Show 30 fields
pub parent: IUnknownVtbl,
pub SetSite: unsafe extern "system" fn(This: *mut ISpSREngine, pSite: *mut ISpSREngineSite) -> HRESULT,
pub GetInputAudioFormat: unsafe extern "system" fn(This: *mut ISpSREngine, pguidSourceFormatId: *const GUID, pSourceWaveFormatEx: *const WAVEFORMATEX, pguidDesiredFormatId: *mut GUID, ppCoMemDesiredWaveFormatEx: *mut WAVEFORMATEX) -> HRESULT,
pub RecognizeStream: unsafe extern "system" fn(This: *mut ISpSREngine, rguidFmtId: REFGUID, pWaveFormatEx: *const WAVEFORMATEX, hRequestSync: HANDLE, hDataAvailable: HANDLE, hExit: HANDLE, fNewAudioStream: BOOL, fRealTimeAudio: BOOL, pAudioObjectToken: *mut ISpObjectToken) -> HRESULT,
pub SetRecoProfile: unsafe extern "system" fn(This: *mut ISpSREngine, pProfile: *mut ISpObjectToken) -> HRESULT,
pub OnCreateGrammar: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineRecoContext: *mut c_void, hSAPIGrammar: SPGRAMMARHANDLE, ppvEngineGrammarContext: *mut *mut c_void) -> HRESULT,
pub OnDeleteGrammar: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void) -> HRESULT,
pub LoadProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, rguidParam: REFGUID, pszStringParam: LPCWSTR, pvDataParam: *const c_void, ulDataSize: ULONG, Options: SPLOADOPTIONS) -> HRESULT,
pub UnloadProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void) -> HRESULT,
pub SetProprietaryRuleState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pszName: LPCWSTR, pReserved: *mut c_void, NewState: SPRULESTATE, pcRulesChanged: *mut ULONG) -> HRESULT,
pub SetProprietaryRuleIdState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, dwRuleId: DWORD, NewState: SPRULESTATE) -> HRESULT,
pub LoadSLM: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pszTopicName: LPCWSTR) -> HRESULT,
pub UnloadSLM: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void) -> HRESULT,
pub SetSLMState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, NewState: SPRULESTATE) -> HRESULT,
pub SetWordSequenceData: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pText: *const WCHAR, cchText: ULONG, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULT,
pub SetTextSelection: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULT,
pub IsPronounceable: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pszWord: LPCWSTR, pWordPronounceable: *mut SPWORDPRONOUNCEABLE) -> HRESULT,
pub OnCreateRecoContext: unsafe extern "system" fn(This: *mut ISpSREngine, hSAPIRecoContext: SPRECOCONTEXTHANDLE, ppvEngineContext: *mut *mut c_void) -> HRESULT,
pub OnDeleteRecoContext: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void) -> HRESULT,
pub OnPrivateCall: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void, pCallFrame: PVOID, ulCallFrameSize: ULONG) -> HRESULT,
pub SetAdaptationData: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void, pAdaptationData: *const WCHAR, cch: ULONG) -> HRESULT,
pub SetPropertyNum: unsafe extern "system" fn(This: *mut ISpSREngine, eSrc: SPPROPSRC, pvSrcObj: *mut c_void, pName: *const WCHAR, lValue: LONG) -> HRESULT,
pub GetPropertyNum: unsafe extern "system" fn(This: *mut ISpSREngine, eSrc: SPPROPSRC, pvSrcObj: *mut c_void, pName: *const WCHAR, lValue: *mut LONG) -> HRESULT,
pub SetPropertyString: unsafe extern "system" fn(This: *mut ISpSREngine, eSrc: SPPROPSRC, pvSrcObj: *mut c_void, pName: LPCWSTR, pValue: LPCWSTR) -> HRESULT,
pub GetPropertyString: unsafe extern "system" fn(This: *mut ISpSREngine, eSrc: SPPROPSRC, pvSrcObj: *mut c_void, pName: LPCWSTR, ppCoMemValue: *mut LPWSTR) -> HRESULT,
pub SetGrammarState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, eGrammarState: SPGRAMMARSTATE) -> HRESULT,
pub WordNotify: unsafe extern "system" fn(This: *mut ISpSREngine, Action: SPCFGNOTIFY, cWords: ULONG, pWords: *const SPWORDENTRY) -> HRESULT,
pub RuleNotify: unsafe extern "system" fn(This: *mut ISpSREngine, Action: SPCFGNOTIFY, cRules: ULONG, pRules: *const SPRULEENTRY) -> HRESULT,
pub PrivateCallEx: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void, pInCallFrame: *const c_void, ulInCallFrameSize: ULONG, ppvCoMemResponse: *mut *mut c_void, pulResponseSize: *mut ULONG) -> HRESULT,
pub SetContextState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void, eContextState: SPCONTEXTSTATE) -> HRESULT,
}Fields§
§parent: IUnknownVtbl§SetSite: unsafe extern "system" fn(This: *mut ISpSREngine, pSite: *mut ISpSREngineSite) -> HRESULT§GetInputAudioFormat: unsafe extern "system" fn(This: *mut ISpSREngine, pguidSourceFormatId: *const GUID, pSourceWaveFormatEx: *const WAVEFORMATEX, pguidDesiredFormatId: *mut GUID, ppCoMemDesiredWaveFormatEx: *mut WAVEFORMATEX) -> HRESULT§RecognizeStream: unsafe extern "system" fn(This: *mut ISpSREngine, rguidFmtId: REFGUID, pWaveFormatEx: *const WAVEFORMATEX, hRequestSync: HANDLE, hDataAvailable: HANDLE, hExit: HANDLE, fNewAudioStream: BOOL, fRealTimeAudio: BOOL, pAudioObjectToken: *mut ISpObjectToken) -> HRESULT§SetRecoProfile: unsafe extern "system" fn(This: *mut ISpSREngine, pProfile: *mut ISpObjectToken) -> HRESULT§OnCreateGrammar: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineRecoContext: *mut c_void, hSAPIGrammar: SPGRAMMARHANDLE, ppvEngineGrammarContext: *mut *mut c_void) -> HRESULT§OnDeleteGrammar: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void) -> HRESULT§LoadProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, rguidParam: REFGUID, pszStringParam: LPCWSTR, pvDataParam: *const c_void, ulDataSize: ULONG, Options: SPLOADOPTIONS) -> HRESULT§UnloadProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void) -> HRESULT§SetProprietaryRuleState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pszName: LPCWSTR, pReserved: *mut c_void, NewState: SPRULESTATE, pcRulesChanged: *mut ULONG) -> HRESULT§SetProprietaryRuleIdState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, dwRuleId: DWORD, NewState: SPRULESTATE) -> HRESULT§LoadSLM: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pszTopicName: LPCWSTR) -> HRESULT§UnloadSLM: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void) -> HRESULT§SetSLMState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, NewState: SPRULESTATE) -> HRESULT§SetWordSequenceData: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pText: *const WCHAR, cchText: ULONG, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULT§SetTextSelection: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULT§IsPronounceable: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, pszWord: LPCWSTR, pWordPronounceable: *mut SPWORDPRONOUNCEABLE) -> HRESULT§OnCreateRecoContext: unsafe extern "system" fn(This: *mut ISpSREngine, hSAPIRecoContext: SPRECOCONTEXTHANDLE, ppvEngineContext: *mut *mut c_void) -> HRESULT§OnDeleteRecoContext: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void) -> HRESULT§OnPrivateCall: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void, pCallFrame: PVOID, ulCallFrameSize: ULONG) -> HRESULT§SetAdaptationData: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void, pAdaptationData: *const WCHAR, cch: ULONG) -> HRESULT§SetPropertyNum: unsafe extern "system" fn(This: *mut ISpSREngine, eSrc: SPPROPSRC, pvSrcObj: *mut c_void, pName: *const WCHAR, lValue: LONG) -> HRESULT§GetPropertyNum: unsafe extern "system" fn(This: *mut ISpSREngine, eSrc: SPPROPSRC, pvSrcObj: *mut c_void, pName: *const WCHAR, lValue: *mut LONG) -> HRESULT§SetPropertyString: unsafe extern "system" fn(This: *mut ISpSREngine, eSrc: SPPROPSRC, pvSrcObj: *mut c_void, pName: LPCWSTR, pValue: LPCWSTR) -> HRESULT§GetPropertyString: unsafe extern "system" fn(This: *mut ISpSREngine, eSrc: SPPROPSRC, pvSrcObj: *mut c_void, pName: LPCWSTR, ppCoMemValue: *mut LPWSTR) -> HRESULT§SetGrammarState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineGrammar: *mut c_void, eGrammarState: SPGRAMMARSTATE) -> HRESULT§WordNotify: unsafe extern "system" fn(This: *mut ISpSREngine, Action: SPCFGNOTIFY, cWords: ULONG, pWords: *const SPWORDENTRY) -> HRESULT§RuleNotify: unsafe extern "system" fn(This: *mut ISpSREngine, Action: SPCFGNOTIFY, cRules: ULONG, pRules: *const SPRULEENTRY) -> HRESULT§PrivateCallEx: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void, pInCallFrame: *const c_void, ulInCallFrameSize: ULONG, ppvCoMemResponse: *mut *mut c_void, pulResponseSize: *mut ULONG) -> HRESULT§SetContextState: unsafe extern "system" fn(This: *mut ISpSREngine, pvEngineContext: *mut c_void, eContextState: SPCONTEXTSTATE) -> HRESULTAuto Trait Implementations§
impl Forget for ISpSREngineVtbl
impl Freeze for ISpSREngineVtbl
impl RefUnwindSafe for ISpSREngineVtbl
impl Send for ISpSREngineVtbl
impl Sync for ISpSREngineVtbl
impl Unpin for ISpSREngineVtbl
impl UnsafeUnpin for ISpSREngineVtbl
impl UnwindSafe for ISpSREngineVtbl
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