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