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 | |
GetRecognizer | |
CreateGrammer | |
GetStatus | |
GetMaxAlternates | |
SetMaxAlternates | |
SetAudioOptions | |
GetAudioOptions | |
DeserializeResult | |
Bookmark | |
SetAdaptionData | |
Pause | |
Resume | |
SetVoice | |
GetVoice | |
SetVoicePurgeEvent | |
GetVoicePurgeEvent | |
SetContextState | |
GetContextState | |