Struct windows::Win32::Media::Speech::ISpRecoGrammar_Vtbl
#[repr(C)]pub struct ISpRecoGrammar_Vtbl {Show 19 fields
pub base__: ISpGrammarBuilder_Vtbl,
pub GetGrammarId: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT,
pub GetRecoContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub LoadCmdFromFile: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT,
pub LoadCmdFromObject: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT,
pub LoadCmdFromResource: unsafe extern "system" fn(_: *mut c_void, _: HMODULE, _: PCWSTR, _: PCWSTR, _: u16, _: SPLOADOPTIONS) -> HRESULT,
pub LoadCmdFromMemory: unsafe extern "system" fn(_: *mut c_void, _: *const SPBINARYGRAMMAR, _: SPLOADOPTIONS) -> HRESULT,
pub LoadCmdFromProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: PCWSTR, _: *const c_void, _: u32, _: SPLOADOPTIONS) -> HRESULT,
pub SetRuleState: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void, _: SPRULESTATE) -> HRESULT,
pub SetRuleIdState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: SPRULESTATE) -> HRESULT,
pub LoadDictation: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT,
pub UnloadDictation: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub SetDictationState: unsafe extern "system" fn(_: *mut c_void, _: SPRULESTATE) -> HRESULT,
pub SetWordSequenceData: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *const SPTEXTSELECTIONINFO) -> HRESULT,
pub SetTextSelection: unsafe extern "system" fn(_: *mut c_void, _: *const SPTEXTSELECTIONINFO) -> HRESULT,
pub IsPronounceable: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut SPWORDPRONOUNCEABLE) -> HRESULT,
pub SetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: SPGRAMMARSTATE) -> HRESULT,
pub SaveCmd: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub GetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: *mut SPGRAMMARSTATE) -> HRESULT,
}
Fields§
§base__: ISpGrammarBuilder_Vtbl
§GetGrammarId: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT
§GetRecoContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§LoadCmdFromFile: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT
§LoadCmdFromObject: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT
§LoadCmdFromResource: unsafe extern "system" fn(_: *mut c_void, _: HMODULE, _: PCWSTR, _: PCWSTR, _: u16, _: SPLOADOPTIONS) -> HRESULT
§LoadCmdFromMemory: unsafe extern "system" fn(_: *mut c_void, _: *const SPBINARYGRAMMAR, _: SPLOADOPTIONS) -> HRESULT
§LoadCmdFromProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: PCWSTR, _: *const c_void, _: u32, _: SPLOADOPTIONS) -> HRESULT
§SetRuleState: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void, _: SPRULESTATE) -> HRESULT
§SetRuleIdState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: SPRULESTATE) -> HRESULT
§LoadDictation: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT
§UnloadDictation: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§SetDictationState: unsafe extern "system" fn(_: *mut c_void, _: SPRULESTATE) -> HRESULT
§SetWordSequenceData: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *const SPTEXTSELECTIONINFO) -> HRESULT
§SetTextSelection: unsafe extern "system" fn(_: *mut c_void, _: *const SPTEXTSELECTIONINFO) -> HRESULT
§IsPronounceable: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut SPWORDPRONOUNCEABLE) -> HRESULT
§SetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: SPGRAMMARSTATE) -> HRESULT
§SaveCmd: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut PWSTR) -> HRESULT
§GetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: *mut SPGRAMMARSTATE) -> HRESULT
Implementations§
§impl ISpRecoGrammar_Vtbl
impl ISpRecoGrammar_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ISpRecoGrammar_Vtblwhere
Identity: ISpRecoGrammar_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ISpRecoGrammar_Vtbl
impl RefUnwindSafe for ISpRecoGrammar_Vtbl
impl Send for ISpRecoGrammar_Vtbl
impl Sync for ISpRecoGrammar_Vtbl
impl Unpin for ISpRecoGrammar_Vtbl
impl UnwindSafe for ISpRecoGrammar_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