Struct ISpRecoContext_Vtbl
#[repr(C)]pub struct ISpRecoContext_Vtbl {Show 19 fields
pub base__: ISpEventSource_Vtbl,
pub GetRecognizer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub CreateGrammar: unsafe extern "system" fn(_: *mut c_void, _: u64, _: *mut *mut c_void) -> HRESULT,
pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut SPRECOCONTEXTSTATUS) -> HRESULT,
pub GetMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub SetAudioOptions: unsafe extern "system" fn(_: *mut c_void, _: SPAUDIOOPTIONS, _: *const GUID, _: *const WAVEFORMATEX) -> HRESULT,
pub GetAudioOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut SPAUDIOOPTIONS, _: *mut GUID, _: *mut *mut WAVEFORMATEX) -> HRESULT,
pub DeserializeResult: unsafe extern "system" fn(_: *mut c_void, _: *const SPSERIALIZEDRESULT, _: *mut *mut c_void) -> HRESULT,
pub Bookmark: unsafe extern "system" fn(_: *mut c_void, _: SPBOOKMARKOPTIONS, _: u64, _: LPARAM) -> HRESULT,
pub SetAdaptationData: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32) -> HRESULT,
pub Pause: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub Resume: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub SetVoice: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL) -> HRESULT,
pub GetVoice: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetVoicePurgeEvent: unsafe extern "system" fn(_: *mut c_void, _: u64) -> HRESULT,
pub GetVoicePurgeEvent: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT,
pub SetContextState: unsafe extern "system" fn(_: *mut c_void, _: SPCONTEXTSTATE) -> HRESULT,
pub GetContextState: unsafe extern "system" fn(_: *mut c_void, _: *mut SPCONTEXTSTATE) -> HRESULT,
}
Fields§
§base__: ISpEventSource_Vtbl
§GetRecognizer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§CreateGrammar: unsafe extern "system" fn(_: *mut c_void, _: u64, _: *mut *mut c_void) -> HRESULT
§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut SPRECOCONTEXTSTATUS) -> HRESULT
§GetMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§SetAudioOptions: unsafe extern "system" fn(_: *mut c_void, _: SPAUDIOOPTIONS, _: *const GUID, _: *const WAVEFORMATEX) -> HRESULT
§GetAudioOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut SPAUDIOOPTIONS, _: *mut GUID, _: *mut *mut WAVEFORMATEX) -> HRESULT
§DeserializeResult: unsafe extern "system" fn(_: *mut c_void, _: *const SPSERIALIZEDRESULT, _: *mut *mut c_void) -> HRESULT
§Bookmark: unsafe extern "system" fn(_: *mut c_void, _: SPBOOKMARKOPTIONS, _: u64, _: LPARAM) -> HRESULT
§SetAdaptationData: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32) -> HRESULT
§Pause: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§Resume: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§SetVoice: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL) -> HRESULT
§GetVoice: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetVoicePurgeEvent: unsafe extern "system" fn(_: *mut c_void, _: u64) -> HRESULT
§GetVoicePurgeEvent: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT
§SetContextState: unsafe extern "system" fn(_: *mut c_void, _: SPCONTEXTSTATE) -> HRESULT
§GetContextState: unsafe extern "system" fn(_: *mut c_void, _: *mut SPCONTEXTSTATE) -> HRESULT
Implementations§
§impl ISpRecoContext_Vtbl
impl ISpRecoContext_Vtbl
pub const fn new<Identity: ISpRecoContext_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ISpRecoContext_Vtbl
impl RefUnwindSafe for ISpRecoContext_Vtbl
impl Send for ISpRecoContext_Vtbl
impl Sync for ISpRecoContext_Vtbl
impl Unpin for ISpRecoContext_Vtbl
impl UnwindSafe for ISpRecoContext_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