pub struct ISpRecoGrammarVtbl {
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 | |
GetGrammarId | |
GetRecoContext | |
LoadCmdFromFile | |
LoadCmdFromObject | |
LoadCmdFromResource | |
LoadCmdFromMemory | |
LoadCmdFromProprietaryGrammar | |
SetRuleState | |
SetRuleIdState | |
LoadDictation | |
UnloadDictation | |
SetDictationState | |
SetWordSequenceData | |
SetTextSelection | |
IsPronounceable | |
SetGrammarState | |
SaveCmd | |
GetGrammarState | |