ISpeechRecoContextVtbl

Struct ISpeechRecoContextVtbl 

Source
#[repr(C)]
pub struct ISpeechRecoContextVtbl {
Show 26 fields pub parent: IDispatchVtbl, pub get_Recognizer: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Recognizer: *mut *mut ISpeechRecognizer) -> HRESULT, pub get_AudioInputInterferenceStatus: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Interference: *mut SpeechInterference) -> HRESULT, pub get_RequestedUIType: unsafe extern "system" fn(This: *mut ISpeechRecoContext, UIType: *mut BSTR) -> HRESULT, pub putref_Voice: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Voice: *mut ISpeechVoice) -> HRESULT, pub get_Voice: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Voice: *mut *mut ISpeechVoice) -> HRESULT, pub put_AllowVoiceFormatMatchingOnNextSet: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Allow: VARIANT_BOOL) -> HRESULT, pub get_AllowVoiceFormatMatchingOnNextSet: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Allow: *mut VARIANT_BOOL) -> HRESULT, pub put_VoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpeechRecoContext, EventInterest: SpeechRecoEvents) -> HRESULT, pub get_VoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpeechRecoContext, EventInterest: *mut SpeechRecoEvents) -> HRESULT, pub put_EventInterests: unsafe extern "system" fn(This: *mut ISpeechRecoContext, EventInterest: SpeechRecoEvents) -> HRESULT, pub get_EventInterests: unsafe extern "system" fn(This: *mut ISpeechRecoContext, EventInterest: *mut SpeechRecoEvents) -> HRESULT, pub put_CmdMaxAlternates: unsafe extern "system" fn(This: *mut ISpeechRecoContext, MaxAlternates: c_long) -> HRESULT, pub get_CmdMaxAlternates: unsafe extern "system" fn(This: *mut ISpeechRecoContext, MaxAlternates: *mut c_long) -> HRESULT, pub put_State: unsafe extern "system" fn(This: *mut ISpeechRecoContext, State: SpeechRecoContextState) -> HRESULT, pub get_State: unsafe extern "system" fn(This: *mut ISpeechRecoContext, State: *mut SpeechRecoContextState) -> HRESULT, pub put_RetainedAudio: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Option: SpeechRetainedAudioOptions) -> HRESULT, pub get_RetainedAudio: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Option: *mut SpeechRetainedAudioOptions) -> HRESULT, pub putref_RetainedAudioFormat: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Format: *mut ISpeechAudioFormat) -> HRESULT, pub get_RetainedAudioFormat: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Format: *mut *mut ISpeechAudioFormat) -> HRESULT, pub Pause: unsafe extern "system" fn(This: *mut ISpeechRecoContext) -> HRESULT, pub Resume: unsafe extern "system" fn(This: *mut ISpeechRecoContext) -> HRESULT, pub CreateGrammar: unsafe extern "system" fn(This: *mut ISpeechRecoContext, GrammarId: VARIANT, Grammar: *mut *mut ISpeechRecoGrammar) -> HRESULT, pub CreateResultFromMemory: unsafe extern "system" fn(This: *mut ISpeechRecoContext, ResultBlock: *mut VARIANT, Result: *mut *mut ISpeechRecoResult) -> HRESULT, pub Bookmark: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Options: SpeechBookmarkOptions, StreamPos: VARIANT, BookmarkId: VARIANT) -> HRESULT, pub SetAdaptationData: unsafe extern "system" fn(This: *mut ISpeechRecoContext, AdaptationString: BSTR) -> HRESULT,
}

Fields§

§parent: IDispatchVtbl§get_Recognizer: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Recognizer: *mut *mut ISpeechRecognizer) -> HRESULT§get_AudioInputInterferenceStatus: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Interference: *mut SpeechInterference) -> HRESULT§get_RequestedUIType: unsafe extern "system" fn(This: *mut ISpeechRecoContext, UIType: *mut BSTR) -> HRESULT§putref_Voice: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Voice: *mut ISpeechVoice) -> HRESULT§get_Voice: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Voice: *mut *mut ISpeechVoice) -> HRESULT§put_AllowVoiceFormatMatchingOnNextSet: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Allow: VARIANT_BOOL) -> HRESULT§get_AllowVoiceFormatMatchingOnNextSet: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Allow: *mut VARIANT_BOOL) -> HRESULT§put_VoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpeechRecoContext, EventInterest: SpeechRecoEvents) -> HRESULT§get_VoicePurgeEvent: unsafe extern "system" fn(This: *mut ISpeechRecoContext, EventInterest: *mut SpeechRecoEvents) -> HRESULT§put_EventInterests: unsafe extern "system" fn(This: *mut ISpeechRecoContext, EventInterest: SpeechRecoEvents) -> HRESULT§get_EventInterests: unsafe extern "system" fn(This: *mut ISpeechRecoContext, EventInterest: *mut SpeechRecoEvents) -> HRESULT§put_CmdMaxAlternates: unsafe extern "system" fn(This: *mut ISpeechRecoContext, MaxAlternates: c_long) -> HRESULT§get_CmdMaxAlternates: unsafe extern "system" fn(This: *mut ISpeechRecoContext, MaxAlternates: *mut c_long) -> HRESULT§put_State: unsafe extern "system" fn(This: *mut ISpeechRecoContext, State: SpeechRecoContextState) -> HRESULT§get_State: unsafe extern "system" fn(This: *mut ISpeechRecoContext, State: *mut SpeechRecoContextState) -> HRESULT§put_RetainedAudio: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Option: SpeechRetainedAudioOptions) -> HRESULT§get_RetainedAudio: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Option: *mut SpeechRetainedAudioOptions) -> HRESULT§putref_RetainedAudioFormat: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Format: *mut ISpeechAudioFormat) -> HRESULT§get_RetainedAudioFormat: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Format: *mut *mut ISpeechAudioFormat) -> HRESULT§Pause: unsafe extern "system" fn(This: *mut ISpeechRecoContext) -> HRESULT§Resume: unsafe extern "system" fn(This: *mut ISpeechRecoContext) -> HRESULT§CreateGrammar: unsafe extern "system" fn(This: *mut ISpeechRecoContext, GrammarId: VARIANT, Grammar: *mut *mut ISpeechRecoGrammar) -> HRESULT§CreateResultFromMemory: unsafe extern "system" fn(This: *mut ISpeechRecoContext, ResultBlock: *mut VARIANT, Result: *mut *mut ISpeechRecoResult) -> HRESULT§Bookmark: unsafe extern "system" fn(This: *mut ISpeechRecoContext, Options: SpeechBookmarkOptions, StreamPos: VARIANT, BookmarkId: VARIANT) -> HRESULT§SetAdaptationData: unsafe extern "system" fn(This: *mut ISpeechRecoContext, AdaptationString: BSTR) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.