[][src]Struct winapi::um::sapi51::ISpRecoContextVtbl

#[repr(C)]
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: ISpEventSourceVtblGetRecognizer: unsafe extern "system" fn(This: *mut ISpRecoContext, ppRecognizer: *mut *mut ISpRecognizer) -> HRESULTCreateGrammer: unsafe extern "system" fn(This: *mut ISpRecoContext, ullGrammarId: ULONGLONG, ppGrammar: *mut *mut ISpRecoGrammar) -> HRESULTGetStatus: unsafe extern "system" fn(This: *mut ISpRecoContext, pState: *mut SPRECOCONTEXTSTATUS) -> HRESULTGetMaxAlternates: unsafe extern "system" fn(This: *mut ISpRecoContext, pcAlternates: *mut ULONG) -> HRESULTSetMaxAlternates: unsafe extern "system" fn(This: *mut ISpRecoContext, cAlternates: ULONG) -> HRESULTSetAudioOptions: unsafe extern "system" fn(This: *mut ISpRecoContext, Options: SPAUDIOOPTIONS, pAudioFormatId: *const GUID, pWaveFormatEx: *const WAVEFORMATEX) -> HRESULTGetAudioOptions: unsafe extern "system" fn(This: *mut ISpRecoContext, pOptions: *mut SPAUDIOOPTIONS, pAudioFormatId: *mut GUID, ppCoMemWFEX: *mut *mut WAVEFORMATEX) -> HRESULTDeserializeResult: unsafe extern "system" fn(This: *mut ISpRecoContext, pSerializedResult: *const SPSERIALIZEDRESULT, ppResult: *mut *mut ISpRecoResult) -> HRESULTBookmark: unsafe extern "system" fn(This: *mut ISpRecoContext, Options: SPBOOKMARKOPTIONS, ullStreamPosition: ULONGLONG, lparamEvent: LPARAM) -> HRESULTSetAdaptionData: unsafe extern "system" fn(This: *mut ISpRecoContext, pAdaptionData: LPCWSTR, cch: ULONG) -> HRESULTPause: unsafe extern "system" fn(This: *mut ISpRecoContext, dwReserved: DWORD) -> HRESULTResume: unsafe extern "system" fn(This: *mut ISpRecoContext, dwReserved: DWORD) -> HRESULTSetVoice: unsafe extern "system" fn(This: *mut ISpRecoContext, pVoice: *mut ISpVoice, fAllowFormatChanges: BOOL) -> HRESULTGetVoice: unsafe extern "system" fn(This: *mut ISpRecoContext, ppVoice: *mut *mut ISpVoice) -> HRESULTSetVoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpRecoContext, ullEventIntereset: ULONGLONG) -> HRESULTGetVoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpRecoContext, pullEventIntereset: *mut ULONGLONG) -> HRESULTSetContextState: unsafe extern "system" fn(This: *mut ISpRecoContext, eContextState: SPCONTEXTSTATE) -> HRESULTGetContextState: unsafe extern "system" fn(This: *mut ISpRecoContext, peContextState: *mut SPCONTEXTSTATE) -> HRESULT

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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