Struct winapi::sapi::ISpRecoContextVtbl [] [src]

pub struct ISpRecoContextVtbl {
    pub parent: ISpEventSourceVtbl,
    pub GetRecognizer: unsafe extern "system" fn(This: *mut ISpRecoContext, ppRecognizer: *mut *mut ISpRecognizer) -> HRESULT,
    pub CreateGrammer: unsafe extern "system" fn(This: *mut ISpRecoContext, ullGrammarId: ULONGLONG, ppGrammar: *mut *mut ISpRecoGrammar) -> HRESULT,
    pub GetStatus: unsafe extern "system" fn(This: *mut ISpRecoContext, pState: *mut SPRECOCONTEXTSTATUS) -> HRESULT,
    pub GetMaxAlternates: unsafe extern "system" fn(This: *mut ISpRecoContext, pcAlternates: *mut ULONG) -> HRESULT,
    pub SetMaxAlternates: unsafe extern "system" fn(This: *mut ISpRecoContext, cAlternates: ULONG) -> HRESULT,
    pub SetAudioOptions: unsafe extern "system" fn(This: *mut ISpRecoContext, Options: SPAUDIOOPTIONS, pAudioFormatId: *const GUID, pWaveFormatEx: *const WAVEFORMATEX) -> HRESULT,
    pub GetAudioOptions: unsafe extern "system" fn(This: *mut ISpRecoContext, pOptions: *mut SPAUDIOOPTIONS, pAudioFormatId: *mut GUID, ppCoMemWFEX: *mut *mut WAVEFORMATEX) -> HRESULT,
    pub DeserializeResult: unsafe extern "system" fn(This: *mut ISpRecoContext, pSerializedResult: *const SPSERIALIZEDRESULT, ppResult: *mut *mut ISpRecoResult) -> HRESULT,
    pub Bookmark: unsafe extern "system" fn(This: *mut ISpRecoContext, Options: SPBOOKMARKOPTIONS, ullStreamPosition: ULONGLONG, lparamEvent: LPARAM) -> HRESULT,
    pub SetAdaptionData: unsafe extern "system" fn(This: *mut ISpRecoContext, pAdaptionData: LPCWSTR, cch: ULONG) -> HRESULT,
    pub Pause: unsafe extern "system" fn(This: *mut ISpRecoContext, dwReserved: DWORD) -> HRESULT,
    pub Resume: unsafe extern "system" fn(This: *mut ISpRecoContext, dwReserved: DWORD) -> HRESULT,
    pub SetVoice: unsafe extern "system" fn(This: *mut ISpRecoContext, pVoice: *mut ISpVoice, fAllowFormatChanges: BOOL) -> HRESULT,
    pub GetVoice: unsafe extern "system" fn(This: *mut ISpRecoContext, ppVoice: *mut *mut ISpVoice) -> HRESULT,
    pub SetVoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpRecoContext, ullEventIntereset: ULONGLONG) -> HRESULT,
    pub GetVoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpRecoContext, pullEventIntereset: *mut ULONGLONG) -> HRESULT,
    pub SetContextState: unsafe extern "system" fn(This: *mut ISpRecoContext, eContextState: SPCONTEXTSTATE) -> HRESULT,
    pub GetContextState: unsafe extern "system" fn(This: *mut ISpRecoContext, peContextState: *mut SPCONTEXTSTATE) -> HRESULT,
}

Fields

parent: ISpEventSourceVtbl GetRecognizer: unsafe extern "system" fn(This: *mut ISpRecoContext, ppRecognizer: *mut *mut ISpRecognizer) -> HRESULT CreateGrammer: unsafe extern "system" fn(This: *mut ISpRecoContext, ullGrammarId: ULONGLONG, ppGrammar: *mut *mut ISpRecoGrammar) -> HRESULT GetStatus: unsafe extern "system" fn(This: *mut ISpRecoContext, pState: *mut SPRECOCONTEXTSTATUS) -> HRESULT GetMaxAlternates: unsafe extern "system" fn(This: *mut ISpRecoContext, pcAlternates: *mut ULONG) -> HRESULT SetMaxAlternates: unsafe extern "system" fn(This: *mut ISpRecoContext, cAlternates: ULONG) -> HRESULT SetAudioOptions: unsafe extern "system" fn(This: *mut ISpRecoContext, Options: SPAUDIOOPTIONS, pAudioFormatId: *const GUID, pWaveFormatEx: *const WAVEFORMATEX) -> HRESULT GetAudioOptions: unsafe extern "system" fn(This: *mut ISpRecoContext, pOptions: *mut SPAUDIOOPTIONS, pAudioFormatId: *mut GUID, ppCoMemWFEX: *mut *mut WAVEFORMATEX) -> HRESULT DeserializeResult: unsafe extern "system" fn(This: *mut ISpRecoContext, pSerializedResult: *const SPSERIALIZEDRESULT, ppResult: *mut *mut ISpRecoResult) -> HRESULT Bookmark: unsafe extern "system" fn(This: *mut ISpRecoContext, Options: SPBOOKMARKOPTIONS, ullStreamPosition: ULONGLONG, lparamEvent: LPARAM) -> HRESULT SetAdaptionData: unsafe extern "system" fn(This: *mut ISpRecoContext, pAdaptionData: LPCWSTR, cch: ULONG) -> HRESULT Pause: unsafe extern "system" fn(This: *mut ISpRecoContext, dwReserved: DWORD) -> HRESULT Resume: unsafe extern "system" fn(This: *mut ISpRecoContext, dwReserved: DWORD) -> HRESULT SetVoice: unsafe extern "system" fn(This: *mut ISpRecoContext, pVoice: *mut ISpVoice, fAllowFormatChanges: BOOL) -> HRESULT GetVoice: unsafe extern "system" fn(This: *mut ISpRecoContext, ppVoice: *mut *mut ISpVoice) -> HRESULT SetVoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpRecoContext, ullEventIntereset: ULONGLONG) -> HRESULT GetVoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpRecoContext, pullEventIntereset: *mut ULONGLONG) -> HRESULT SetContextState: unsafe extern "system" fn(This: *mut ISpRecoContext, eContextState: SPCONTEXTSTATE) -> HRESULT GetContextState: unsafe extern "system" fn(This: *mut ISpRecoContext, peContextState: *mut SPCONTEXTSTATE) -> HRESULT