[][src]Struct winapi_forked_icmpapi::um::sapiddk51::ISpSREngine

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

Fields

lpVtbl: *const ISpSREngineVtbl

Methods

impl ISpSREngine[src]

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]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Deref for ISpSREngine[src]

type Target = IUnknown

The resulting type after dereferencing.

impl Interface for ISpSREngine[src]

Auto Trait Implementations

impl !Send for ISpSREngine

impl !Sync for ISpSREngine

impl Unpin for ISpSREngine

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 = !

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.