[][src]Struct winapi::um::sapiddk::ISpSREngine2

#[repr(C)]pub struct ISpSREngine2 {
    pub lpVtbl: *const ISpSREngine2Vtbl,
}

Fields

lpVtbl: *const ISpSREngine2Vtbl

Implementations

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]

pub unsafe fn SetAdaptationData2(
    &self,
    pvEngineContext: *mut c_void,
    pAdaptationData: *const WCHAR,
    cch: ULONG,
    pTopicName: LPCWSTR,
    eSettings: SPADAPTATIONSETTINGS,
    eRelevance: SPADAPTATIONRELEVANCE
) -> HRESULT
[src]

pub unsafe fn SetGrammarPrefix(
    &self,
    pvEngineGrammar: *mut c_void,
    pszPrefix: LPCWSTR,
    fIsPrefixRequired: BOOL
) -> HRESULT
[src]

pub unsafe fn SetRulePriority(
    &self,
    hRule: SPRULEHANDLE,
    pvClientRuleContext: *mut c_void,
    nRulePriority: c_int
) -> HRESULT
[src]

pub unsafe fn EmulateRecognition(
    &self,
    pPhrase: *mut ISpPhrase,
    dwCompareFlags: DWORD
) -> HRESULT
[src]

pub unsafe fn SetSLMWeight(
    &self,
    pvEngineGrammar: *mut c_void,
    flWeight: c_float
) -> HRESULT
[src]

pub unsafe fn SetRuleWeight(
    &self,
    hRule: SPRULEHANDLE,
    pvClientRuleContext: *mut c_void,
    flWeight: c_float
) -> HRESULT
[src]

pub unsafe fn SetTrainingState(
    &self,
    fDoingTraining: BOOL,
    fAdaptFromTrainingData: BOOL
) -> HRESULT
[src]

pub unsafe fn ResetAcousticModelAdaptation(&self) -> HRESULT[src]

pub unsafe fn OnLoadCFG(
    &self,
    pvEngineGrammar: *mut c_void,
    pvGrammarData: *const SPBINARYGRAMMAR,
    ulGrammarID: ULONG
) -> HRESULT
[src]

pub unsafe fn OnUnloadCFG(
    &self,
    pvEngineGrammar: *mut c_void,
    ulGrammarID: ULONG
) -> HRESULT
[src]

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]

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]

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]

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]

pub unsafe fn UnloadProprietaryGrammar(
    &self,
    pvEngineGrammar: *mut c_void
) -> HRESULT
[src]

pub unsafe fn SetProprietaryRuleState(
    &self,
    pvEngineGrammar: *mut c_void,
    pszName: LPCWSTR,
    pReserved: *mut c_void,
    NewState: SPRULESTATE,
    pcRulesChanged: *mut ULONG
) -> HRESULT
[src]

pub unsafe fn SetProprietaryRuleIdState(
    &self,
    pvEngineGrammar: *mut c_void,
    dwRuleId: DWORD,
    NewState: SPRULESTATE
) -> HRESULT
[src]

pub unsafe fn LoadSLM(
    &self,
    pvEngineGrammar: *mut c_void,
    pszTopicName: LPCWSTR
) -> HRESULT
[src]

pub unsafe fn UnloadSLM(&self, pvEngineGrammar: *mut c_void) -> HRESULT[src]

pub unsafe fn SetSLMState(
    &self,
    pvEngineGrammar: *mut c_void,
    NewState: SPRULESTATE
) -> HRESULT
[src]

pub unsafe fn SetWordSequenceData(
    &self,
    pvEngineGrammar: *mut c_void,
    pText: *const WCHAR,
    cchText: ULONG,
    pInfo: *const SPTEXTSELECTIONINFO
) -> HRESULT
[src]

pub unsafe fn SetTextSelection(
    &self,
    pvEngineGrammar: *mut c_void,
    pInfo: *const SPTEXTSELECTIONINFO
) -> HRESULT
[src]

pub unsafe fn IsPronounceable(
    &self,
    pvEngineGrammar: *mut c_void,
    pszWord: LPCWSTR,
    pWordPronounceable: *mut SPWORDPRONOUNCEABLE
) -> HRESULT
[src]

pub unsafe fn OnCreateRecoContext(
    &self,
    hSAPIRecoContext: SPRECOCONTEXTHANDLE,
    ppvEngineContext: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn OnDeleteRecoContext(
    &self,
    pvEngineContext: *mut c_void
) -> HRESULT
[src]

pub unsafe fn OnPrivateCall(
    &self,
    pvEngineContext: *mut c_void,
    pCallFrame: PVOID,
    ulCallFrameSize: ULONG
) -> HRESULT
[src]

pub unsafe fn SetAdaptationData(
    &self,
    pvEngineContext: *mut c_void,
    pAdaptationData: *const WCHAR,
    cch: ULONG
) -> HRESULT
[src]

pub unsafe fn SetPropertyNum(
    &self,
    eSrc: SPPROPSRC,
    pvSrcObj: *mut c_void,
    pName: *const WCHAR,
    lValue: LONG
) -> HRESULT
[src]

pub unsafe fn GetPropertyNum(
    &self,
    eSrc: SPPROPSRC,
    pvSrcObj: *mut c_void,
    pName: *const WCHAR,
    lValue: *mut LONG
) -> HRESULT
[src]

pub unsafe fn SetPropertyString(
    &self,
    eSrc: SPPROPSRC,
    pvSrcObj: *mut c_void,
    pName: LPCWSTR,
    pValue: LPCWSTR
) -> HRESULT
[src]

pub unsafe fn GetPropertyString(
    &self,
    eSrc: SPPROPSRC,
    pvSrcObj: *mut c_void,
    pName: LPCWSTR,
    ppCoMemValue: *mut LPWSTR
) -> HRESULT
[src]

pub unsafe fn SetGrammarState(
    &self,
    pvEngineGrammar: *mut c_void,
    eGrammarState: SPGRAMMARSTATE
) -> HRESULT
[src]

pub unsafe fn WordNotify(
    &self,
    Action: SPCFGNOTIFY,
    cWords: ULONG,
    pWords: *const SPWORDENTRY
) -> HRESULT
[src]

pub unsafe fn RuleNotify(
    &self,
    Action: SPCFGNOTIFY,
    cRules: ULONG,
    pRules: *const SPRULEENTRY
) -> HRESULT
[src]

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]

pub unsafe fn SetContextState(
    &self,
    pvEngineContext: *mut c_void,
    eContextState: SPCONTEXTSTATE
) -> HRESULT
[src]

Trait Implementations

impl Deref for ISpSREngine2[src]

type Target = ISpSREngine

The resulting type after dereferencing.

impl Interface for ISpSREngine2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.