[−][src]Struct winapi::um::sapiddk::ISpSREngine2
Fields
lpVtbl: *const ISpSREngine2Vtbl
Methods
impl ISpSREngine2
[src]
pub unsafe fn PrivateCallImmediate(
&self,
pvEngineContext: *mut c_void,
pInCallFrame: *const c_void,
ulInCallFrameSize: ULONG,
ppvCoMemResponse: *mut *mut c_void,
pulResponseSize: *mut ULONG
) -> HRESULT
[src]
&self,
pvEngineContext: *mut c_void,
pInCallFrame: *const c_void,
ulInCallFrameSize: ULONG,
ppvCoMemResponse: *mut *mut c_void,
pulResponseSize: *mut ULONG
) -> HRESULT
pub unsafe fn SetAdaptationData2(
&self,
pvEngineContext: *mut c_void,
pAdaptationData: *const WCHAR,
cch: ULONG,
pTopicName: LPCWSTR,
eSettings: SPADAPTATIONSETTINGS,
eRelevance: SPADAPTATIONRELEVANCE
) -> HRESULT
[src]
&self,
pvEngineContext: *mut c_void,
pAdaptationData: *const WCHAR,
cch: ULONG,
pTopicName: LPCWSTR,
eSettings: SPADAPTATIONSETTINGS,
eRelevance: SPADAPTATIONRELEVANCE
) -> HRESULT
pub unsafe fn SetGrammarPrefix(
&self,
pvEngineGrammar: *mut c_void,
pszPrefix: LPCWSTR,
fIsPrefixRequired: BOOL
) -> HRESULT
[src]
&self,
pvEngineGrammar: *mut c_void,
pszPrefix: LPCWSTR,
fIsPrefixRequired: BOOL
) -> HRESULT
pub unsafe fn SetRulePriority(
&self,
hRule: SPRULEHANDLE,
pvClientRuleContext: *mut c_void,
nRulePriority: c_int
) -> HRESULT
[src]
&self,
hRule: SPRULEHANDLE,
pvClientRuleContext: *mut c_void,
nRulePriority: c_int
) -> HRESULT
pub unsafe fn EmulateRecognition(
&self,
pPhrase: *mut ISpPhrase,
dwCompareFlags: DWORD
) -> HRESULT
[src]
&self,
pPhrase: *mut ISpPhrase,
dwCompareFlags: DWORD
) -> HRESULT
pub unsafe fn SetSLMWeight(
&self,
pvEngineGrammar: *mut c_void,
flWeight: c_float
) -> HRESULT
[src]
&self,
pvEngineGrammar: *mut c_void,
flWeight: c_float
) -> HRESULT
pub unsafe fn SetRuleWeight(
&self,
hRule: SPRULEHANDLE,
pvClientRuleContext: *mut c_void,
flWeight: c_float
) -> HRESULT
[src]
&self,
hRule: SPRULEHANDLE,
pvClientRuleContext: *mut c_void,
flWeight: c_float
) -> HRESULT
pub unsafe fn SetTrainingState(
&self,
fDoingTraining: BOOL,
fAdaptFromTrainingData: BOOL
) -> HRESULT
[src]
&self,
fDoingTraining: BOOL,
fAdaptFromTrainingData: BOOL
) -> HRESULT
pub unsafe fn ResetAcousticModelAdaptation(&self) -> HRESULT
[src]
pub unsafe fn OnLoadCFG(
&self,
pvEngineGrammar: *mut c_void,
pvGrammarData: *const SPBINARYGRAMMAR,
ulGrammarID: ULONG
) -> HRESULT
[src]
&self,
pvEngineGrammar: *mut c_void,
pvGrammarData: *const SPBINARYGRAMMAR,
ulGrammarID: ULONG
) -> HRESULT
pub unsafe fn OnUnloadCFG(
&self,
pvEngineGrammar: *mut c_void,
ulGrammarID: ULONG
) -> HRESULT
[src]
&self,
pvEngineGrammar: *mut c_void,
ulGrammarID: ULONG
) -> HRESULT
Methods from Deref<Target = ISpSREngine>
pub unsafe fn SetSite(&self, pSite: *mut ISpSREngineSite) -> HRESULT
[src]
pub unsafe fn GetInputAudioFormat(
&self,
pguidSourceFormatId: *const GUID,
pSourceWaveFormatEx: *const WAVEFORMATEX,
pguidDesiredFormatId: *mut GUID,
ppCoMemDesiredWaveFormatEx: *mut WAVEFORMATEX
) -> HRESULT
[src]
&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
[src]
&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
[src]
pub unsafe fn OnCreateGrammar(
&self,
pvEngineRecoContext: *mut c_void,
hSAPIGrammar: SPGRAMMARHANDLE,
ppvEngineGrammarContext: *mut *mut c_void
) -> HRESULT
[src]
&self,
pvEngineRecoContext: *mut c_void,
hSAPIGrammar: SPGRAMMARHANDLE,
ppvEngineGrammarContext: *mut *mut c_void
) -> HRESULT
pub unsafe fn OnDeleteGrammar(&self, pvEngineGrammar: *mut c_void) -> HRESULT
[src]
pub unsafe fn LoadProprietaryGrammar(
&self,
pvEngineGrammar: *mut c_void,
rguidParam: REFGUID,
pszStringParam: LPCWSTR,
pvDataParam: *const c_void,
ulDataSize: ULONG,
Options: SPLOADOPTIONS
) -> HRESULT
[src]
&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
[src]
&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
[src]
&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
[src]
&self,
pvEngineGrammar: *mut c_void,
dwRuleId: DWORD,
NewState: SPRULESTATE
) -> HRESULT
pub unsafe fn LoadSLM(
&self,
pvEngineGrammar: *mut c_void,
pszTopicName: LPCWSTR
) -> HRESULT
[src]
&self,
pvEngineGrammar: *mut c_void,
pszTopicName: LPCWSTR
) -> HRESULT
pub unsafe fn UnloadSLM(&self, pvEngineGrammar: *mut c_void) -> HRESULT
[src]
pub unsafe fn SetSLMState(
&self,
pvEngineGrammar: *mut c_void,
NewState: SPRULESTATE
) -> HRESULT
[src]
&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
[src]
&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
[src]
&self,
pvEngineGrammar: *mut c_void,
pInfo: *const SPTEXTSELECTIONINFO
) -> HRESULT
pub unsafe fn IsPronounceable(
&self,
pvEngineGrammar: *mut c_void,
pszWord: LPCWSTR,
pWordPronounceable: *mut SPWORDPRONOUNCEABLE
) -> HRESULT
[src]
&self,
pvEngineGrammar: *mut c_void,
pszWord: LPCWSTR,
pWordPronounceable: *mut SPWORDPRONOUNCEABLE
) -> HRESULT
pub unsafe fn OnCreateRecoContext(
&self,
hSAPIRecoContext: SPRECOCONTEXTHANDLE,
ppvEngineContext: *mut *mut c_void
) -> HRESULT
[src]
&self,
hSAPIRecoContext: SPRECOCONTEXTHANDLE,
ppvEngineContext: *mut *mut c_void
) -> HRESULT
pub unsafe fn OnDeleteRecoContext(
&self,
pvEngineContext: *mut c_void
) -> HRESULT
[src]
&self,
pvEngineContext: *mut c_void
) -> HRESULT
pub unsafe fn OnPrivateCall(
&self,
pvEngineContext: *mut c_void,
pCallFrame: PVOID,
ulCallFrameSize: ULONG
) -> HRESULT
[src]
&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
[src]
&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
[src]
&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
[src]
&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
[src]
&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
[src]
&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
[src]
&self,
pvEngineGrammar: *mut c_void,
eGrammarState: SPGRAMMARSTATE
) -> HRESULT
pub unsafe fn WordNotify(
&self,
Action: SPCFGNOTIFY,
cWords: ULONG,
pWords: *const SPWORDENTRY
) -> HRESULT
[src]
&self,
Action: SPCFGNOTIFY,
cWords: ULONG,
pWords: *const SPWORDENTRY
) -> HRESULT
pub unsafe fn RuleNotify(
&self,
Action: SPCFGNOTIFY,
cRules: ULONG,
pRules: *const SPRULEENTRY
) -> HRESULT
[src]
&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
[src]
&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
[src]
&self,
pvEngineContext: *mut c_void,
eContextState: SPCONTEXTSTATE
) -> HRESULT
Trait Implementations
impl Interface for ISpSREngine2
[src]
impl Deref for ISpSREngine2
[src]
type Target = ISpSREngine
The resulting type after dereferencing.
fn deref(&self) -> &ISpSREngine
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,