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
impl ISpSREngine_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ISpSREngine_Vtblwhere
Identity: ISpSREngine_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ISpSREngine_Vtbl
impl RefUnwindSafe for ISpSREngine_Vtbl
impl Send for ISpSREngine_Vtbl
impl Sync for ISpSREngine_Vtbl
impl Unpin for ISpSREngine_Vtbl
impl UnwindSafe for ISpSREngine_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more