Struct windows::Win32::Media::Speech::ISpSREngine_Vtbl

#[repr(C)]
pub struct ISpSREngine_Vtbl {
Show 30 fields pub base__: IUnknown_Vtbl, pub SetSite: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetInputAudioFormat: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const WAVEFORMATEX, _: *mut GUID, _: *mut *mut WAVEFORMATEX) -> HRESULT, pub RecognizeStream: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const WAVEFORMATEX, _: HANDLE, _: HANDLE, _: HANDLE, _: BOOL, _: BOOL, _: *mut c_void) -> HRESULT, pub SetRecoProfile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub OnCreateGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: SPGRAMMARHANDLE, _: *mut *mut c_void) -> HRESULT, pub OnDeleteGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT, pub LoadProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *const GUID, _: PCWSTR, _: *const c_void, _: u32, _: SPLOADOPTIONS) -> HRESULT, pub UnloadProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT, pub SetProprietaryRuleState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR, _: *const c_void, _: SPRULESTATE, _: *mut u32) -> HRESULT, pub SetProprietaryRuleIdState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: SPRULESTATE) -> HRESULT, pub LoadSLM: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR) -> HRESULT, pub UnloadSLM: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT, pub SetSLMState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: SPRULESTATE) -> HRESULT, pub SetWordSequenceData: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR, _: u32, _: *const SPTEXTSELECTIONINFO) -> HRESULT, pub SetTextSelection: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *const SPTEXTSELECTIONINFO) -> HRESULT, pub IsPronounceable: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR, _: *mut SPWORDPRONOUNCEABLE) -> HRESULT, pub OnCreateRecoContext: unsafe extern "system" fn(_: *mut c_void, _: SPRECOCONTEXTHANDLE, _: *mut *mut c_void) -> HRESULT, pub OnDeleteRecoContext: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT, pub PrivateCall: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *mut c_void, _: u32) -> HRESULT, pub SetAdaptationData: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR, _: u32) -> HRESULT, pub SetPropertyNum: unsafe extern "system" fn(_: *mut c_void, _: SPPROPSRC, _: *const c_void, _: PCWSTR, _: i32) -> HRESULT, pub GetPropertyNum: unsafe extern "system" fn(_: *mut c_void, _: SPPROPSRC, _: *const c_void, _: PCWSTR, _: *mut i32) -> HRESULT, pub SetPropertyString: unsafe extern "system" fn(_: *mut c_void, _: SPPROPSRC, _: *const c_void, _: PCWSTR, _: PCWSTR) -> HRESULT, pub GetPropertyString: unsafe extern "system" fn(_: *mut c_void, _: SPPROPSRC, _: *const c_void, _: PCWSTR, _: *mut PWSTR) -> HRESULT, pub SetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: SPGRAMMARSTATE) -> HRESULT, pub WordNotify: unsafe extern "system" fn(_: *mut c_void, _: SPCFGNOTIFY, _: u32, _: *const SPWORDENTRY) -> HRESULT, pub RuleNotify: unsafe extern "system" fn(_: *mut c_void, _: SPCFGNOTIFY, _: u32, _: *const SPRULEENTRY) -> HRESULT, pub PrivateCallEx: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *const c_void, _: u32, _: *mut *mut c_void, _: *mut u32) -> HRESULT, pub SetContextState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: SPCONTEXTSTATE) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§SetSite: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetInputAudioFormat: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const WAVEFORMATEX, _: *mut GUID, _: *mut *mut WAVEFORMATEX) -> HRESULT§RecognizeStream: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const WAVEFORMATEX, _: HANDLE, _: HANDLE, _: HANDLE, _: BOOL, _: BOOL, _: *mut c_void) -> HRESULT§SetRecoProfile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§OnCreateGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: SPGRAMMARHANDLE, _: *mut *mut c_void) -> HRESULT§OnDeleteGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT§LoadProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *const GUID, _: PCWSTR, _: *const c_void, _: u32, _: SPLOADOPTIONS) -> HRESULT§UnloadProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT§SetProprietaryRuleState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR, _: *const c_void, _: SPRULESTATE, _: *mut u32) -> HRESULT§SetProprietaryRuleIdState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: SPRULESTATE) -> HRESULT§LoadSLM: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR) -> HRESULT§UnloadSLM: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT§SetSLMState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: SPRULESTATE) -> HRESULT§SetWordSequenceData: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR, _: u32, _: *const SPTEXTSELECTIONINFO) -> HRESULT§SetTextSelection: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *const SPTEXTSELECTIONINFO) -> HRESULT§IsPronounceable: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR, _: *mut SPWORDPRONOUNCEABLE) -> HRESULT§OnCreateRecoContext: unsafe extern "system" fn(_: *mut c_void, _: SPRECOCONTEXTHANDLE, _: *mut *mut c_void) -> HRESULT§OnDeleteRecoContext: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT§PrivateCall: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *mut c_void, _: u32) -> HRESULT§SetAdaptationData: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: PCWSTR, _: u32) -> HRESULT§SetPropertyNum: unsafe extern "system" fn(_: *mut c_void, _: SPPROPSRC, _: *const c_void, _: PCWSTR, _: i32) -> HRESULT§GetPropertyNum: unsafe extern "system" fn(_: *mut c_void, _: SPPROPSRC, _: *const c_void, _: PCWSTR, _: *mut i32) -> HRESULT§SetPropertyString: unsafe extern "system" fn(_: *mut c_void, _: SPPROPSRC, _: *const c_void, _: PCWSTR, _: PCWSTR) -> HRESULT§GetPropertyString: unsafe extern "system" fn(_: *mut c_void, _: SPPROPSRC, _: *const c_void, _: PCWSTR, _: *mut PWSTR) -> HRESULT§SetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: SPGRAMMARSTATE) -> HRESULT§WordNotify: unsafe extern "system" fn(_: *mut c_void, _: SPCFGNOTIFY, _: u32, _: *const SPWORDENTRY) -> HRESULT§RuleNotify: unsafe extern "system" fn(_: *mut c_void, _: SPCFGNOTIFY, _: u32, _: *const SPRULEENTRY) -> HRESULT§PrivateCallEx: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *const c_void, _: u32, _: *mut *mut c_void, _: *mut u32) -> HRESULT§SetContextState: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: SPCONTEXTSTATE) -> HRESULT

Implementations§

§

impl ISpSREngine_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ISpSREngine_Vtbl
where Identity: ISpSREngine_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.