Struct windows::Win32::Media::Speech::ISpeechRecognizer_Vtbl

#[repr(C)]
pub struct ISpeechRecognizer_Vtbl {
Show 27 fields pub base__: IDispatch_Vtbl, pub putref_Recognizer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub Recognizer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetAllowAudioInputFormatChangesOnNextSet: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub AllowAudioInputFormatChangesOnNextSet: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub putref_AudioInput: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub AudioInput: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub putref_AudioInputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub AudioInputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub IsShared: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetState: unsafe extern "system" fn(_: *mut c_void, _: SpeechRecognizerState) -> HRESULT, pub State: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRecognizerState) -> HRESULT, pub Status: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub putref_Profile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub Profile: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub EmulateRecognition: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<VARIANT>, _: *const MaybeUninit<VARIANT>, _: i32) -> HRESULT, pub CreateRecoContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetFormat: unsafe extern "system" fn(_: *mut c_void, _: SpeechFormatType, _: *mut *mut c_void) -> HRESULT, pub SetPropertyNumber: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: *mut VARIANT_BOOL) -> HRESULT, pub GetPropertyNumber: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut i32, _: *mut VARIANT_BOOL) -> HRESULT, pub SetPropertyString: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *mut VARIANT_BOOL) -> HRESULT, pub GetPropertyString: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut VARIANT_BOOL) -> HRESULT, pub IsUISupported: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *const MaybeUninit<VARIANT>, _: *mut VARIANT_BOOL) -> HRESULT, pub DisplayUI: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *const MaybeUninit<VARIANT>) -> HRESULT, pub GetRecognizers: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *mut *mut c_void) -> HRESULT, pub GetAudioInputs: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *mut *mut c_void) -> HRESULT, pub GetProfiles: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§putref_Recognizer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§Recognizer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetAllowAudioInputFormatChangesOnNextSet: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§AllowAudioInputFormatChangesOnNextSet: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§putref_AudioInput: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§AudioInput: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§putref_AudioInputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§AudioInputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§IsShared: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetState: unsafe extern "system" fn(_: *mut c_void, _: SpeechRecognizerState) -> HRESULT§State: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRecognizerState) -> HRESULT§Status: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§putref_Profile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§Profile: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§EmulateRecognition: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<VARIANT>, _: *const MaybeUninit<VARIANT>, _: i32) -> HRESULT§CreateRecoContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetFormat: unsafe extern "system" fn(_: *mut c_void, _: SpeechFormatType, _: *mut *mut c_void) -> HRESULT§SetPropertyNumber: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: *mut VARIANT_BOOL) -> HRESULT§GetPropertyNumber: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut i32, _: *mut VARIANT_BOOL) -> HRESULT§SetPropertyString: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *mut VARIANT_BOOL) -> HRESULT§GetPropertyString: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut VARIANT_BOOL) -> HRESULT§IsUISupported: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *const MaybeUninit<VARIANT>, _: *mut VARIANT_BOOL) -> HRESULT§DisplayUI: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *const MaybeUninit<VARIANT>) -> HRESULT§GetRecognizers: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *mut *mut c_void) -> HRESULT§GetAudioInputs: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *mut *mut c_void) -> HRESULT§GetProfiles: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl ISpeechRecognizer_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ISpeechRecognizer_Vtbl
where Identity: ISpeechRecognizer_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

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>,

§

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>,

§

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.