#[repr(C)]pub struct ISpRecoGrammarVtbl {Show 19 fields
pub parent: ISpGrammarBuilderVtbl,
pub GetGrammarId: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pullGrammarId: *mut ULONGLONG) -> HRESULT,
pub GetRecoContext: unsafe extern "system" fn(This: *mut ISpRecoGrammar, ppRecoCtxt: *mut *mut ISpRecoContext) -> HRESULT,
pub LoadCmdFromFile: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszFileName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULT,
pub LoadCmdFromObject: unsafe extern "system" fn(This: *mut ISpRecoGrammar, rcid: REFCLSID, pszGrammarName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULT,
pub LoadCmdFromResource: unsafe extern "system" fn(This: *mut ISpRecoGrammar, hModule: HMODULE, pszResourceName: LPCWSTR, pszResourceType: LPCWSTR, wLanguage: WORD, Options: SPLOADOPTIONS) -> HRESULT,
pub LoadCmdFromMemory: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pGrammar: *const SPBINARYGRAMMAR, Options: SPLOADOPTIONS) -> HRESULT,
pub LoadCmdFromProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpRecoGrammar, rguidParam: REFGUID, pszStringParam: LPCWSTR, pvDataPrarm: *const c_void, cbDataSize: ULONG, Options: SPLOADOPTIONS) -> HRESULT,
pub SetRuleState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszName: LPCWSTR, pReserved: *mut c_void, NewState: SPRULESTATE) -> HRESULT,
pub SetRuleIdState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, ulRuleId: ULONG, NewState: SPRULESTATE) -> HRESULT,
pub LoadDictation: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszTopicName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULT,
pub UnloadDictation: unsafe extern "system" fn(This: *mut ISpRecoGrammar) -> HRESULT,
pub SetDictationState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, NewState: SPRULESTATE) -> HRESULT,
pub SetWordSequenceData: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pText: *const WCHAR, cchText: ULONG, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULT,
pub SetTextSelection: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULT,
pub IsPronounceable: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszWord: LPCWSTR, pWordPronounceable: *mut SPWORDPRONOUNCEABLE) -> HRESULT,
pub SetGrammarState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, eGrammarState: SPGRAMMARSTATE) -> HRESULT,
pub SaveCmd: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pStream: *mut IStream, ppszCoMemErrorText: *mut LPWSTR) -> HRESULT,
pub GetGrammarState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, peGrammarState: *mut SPGRAMMARSTATE) -> HRESULT,
}
Fields§
§parent: ISpGrammarBuilderVtbl
§GetGrammarId: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pullGrammarId: *mut ULONGLONG) -> HRESULT
§GetRecoContext: unsafe extern "system" fn(This: *mut ISpRecoGrammar, ppRecoCtxt: *mut *mut ISpRecoContext) -> HRESULT
§LoadCmdFromFile: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszFileName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULT
§LoadCmdFromObject: unsafe extern "system" fn(This: *mut ISpRecoGrammar, rcid: REFCLSID, pszGrammarName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULT
§LoadCmdFromResource: unsafe extern "system" fn(This: *mut ISpRecoGrammar, hModule: HMODULE, pszResourceName: LPCWSTR, pszResourceType: LPCWSTR, wLanguage: WORD, Options: SPLOADOPTIONS) -> HRESULT
§LoadCmdFromMemory: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pGrammar: *const SPBINARYGRAMMAR, Options: SPLOADOPTIONS) -> HRESULT
§LoadCmdFromProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpRecoGrammar, rguidParam: REFGUID, pszStringParam: LPCWSTR, pvDataPrarm: *const c_void, cbDataSize: ULONG, Options: SPLOADOPTIONS) -> HRESULT
§SetRuleState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszName: LPCWSTR, pReserved: *mut c_void, NewState: SPRULESTATE) -> HRESULT
§SetRuleIdState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, ulRuleId: ULONG, NewState: SPRULESTATE) -> HRESULT
§LoadDictation: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszTopicName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULT
§UnloadDictation: unsafe extern "system" fn(This: *mut ISpRecoGrammar) -> HRESULT
§SetDictationState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, NewState: SPRULESTATE) -> HRESULT
§SetWordSequenceData: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pText: *const WCHAR, cchText: ULONG, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULT
§SetTextSelection: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULT
§IsPronounceable: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszWord: LPCWSTR, pWordPronounceable: *mut SPWORDPRONOUNCEABLE) -> HRESULT
§SetGrammarState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, eGrammarState: SPGRAMMARSTATE) -> HRESULT
§SaveCmd: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pStream: *mut IStream, ppszCoMemErrorText: *mut LPWSTR) -> HRESULT
§GetGrammarState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, peGrammarState: *mut SPGRAMMARSTATE) -> HRESULT
Auto Trait Implementations§
impl Freeze for ISpRecoGrammarVtbl
impl RefUnwindSafe for ISpRecoGrammarVtbl
impl Send for ISpRecoGrammarVtbl
impl Sync for ISpRecoGrammarVtbl
impl Unpin for ISpRecoGrammarVtbl
impl UnwindSafe for ISpRecoGrammarVtbl
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