#[repr(C)]pub struct ISpeechRecoGrammarVtbl {Show 20 fields
pub parent: IDispatchVtbl,
pub get_Id: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Id: *mut VARIANT) -> HRESULT,
pub get_RecoContext: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, RecoContext: *mut *mut ISpeechRecoContext) -> HRESULT,
pub put_State: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: SpeechGrammarState) -> HRESULT,
pub get_State: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: *mut SpeechGrammarState) -> HRESULT,
pub get_Rules: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Rules: *mut *mut ISpeechGrammarRules) -> HRESULT,
pub Reset: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, NewLanguage: SpeechLanguageId) -> HRESULT,
pub CmdLoadFromFile: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, FileName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT,
pub CmdLoadFromObject: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, ClassId: BSTR, GrammarName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT,
pub CmdLoadFromResource: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, hModule: c_long, ResourceName: VARIANT, ResourceType: VARIANT, LanguageId: SpeechLanguageId, LoadOption: SpeechLoadOption) -> HRESULT,
pub CmdLoadFromMemory: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, GrammarData: VARIANT, LoadOption: SpeechLoadOption) -> HRESULT,
pub CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, ProprietaryGuid: BSTR, PriorietaryString: BSTR, ProprietaryData: VARIANT, LoadOption: SpeechLoadOption) -> HRESULT,
pub CmdSetRuleState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Name: BSTR, State: SpeechRuleState) -> HRESULT,
pub CmdSetRuleIdState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, RuleId: c_long, State: SpeechRuleState) -> HRESULT,
pub DictationLoad: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, TopicName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT,
pub DictationUnload: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar) -> HRESULT,
pub DictationSetState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: SpeechRuleState) -> HRESULT,
pub SetWordSequenceData: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Text: BSTR, TextLength: c_long, Info: *mut ISpeechTextSelectionInformation) -> HRESULT,
pub SetTextSelection: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Info: *mut ISpeechTextSelectionInformation) -> HRESULT,
pub IsPronounceable: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Word: BSTR, WordPronounceable: *mut SpeechWordPronounceable) -> HRESULT,
}
Fields§
§parent: IDispatchVtbl
§get_Id: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Id: *mut VARIANT) -> HRESULT
§get_RecoContext: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, RecoContext: *mut *mut ISpeechRecoContext) -> HRESULT
§put_State: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: SpeechGrammarState) -> HRESULT
§get_State: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: *mut SpeechGrammarState) -> HRESULT
§get_Rules: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Rules: *mut *mut ISpeechGrammarRules) -> HRESULT
§Reset: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, NewLanguage: SpeechLanguageId) -> HRESULT
§CmdLoadFromFile: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, FileName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT
§CmdLoadFromObject: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, ClassId: BSTR, GrammarName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT
§CmdLoadFromResource: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, hModule: c_long, ResourceName: VARIANT, ResourceType: VARIANT, LanguageId: SpeechLanguageId, LoadOption: SpeechLoadOption) -> HRESULT
§CmdLoadFromMemory: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, GrammarData: VARIANT, LoadOption: SpeechLoadOption) -> HRESULT
§CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, ProprietaryGuid: BSTR, PriorietaryString: BSTR, ProprietaryData: VARIANT, LoadOption: SpeechLoadOption) -> HRESULT
§CmdSetRuleState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Name: BSTR, State: SpeechRuleState) -> HRESULT
§CmdSetRuleIdState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, RuleId: c_long, State: SpeechRuleState) -> HRESULT
§DictationLoad: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, TopicName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT
§DictationUnload: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar) -> HRESULT
§DictationSetState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: SpeechRuleState) -> HRESULT
§SetWordSequenceData: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Text: BSTR, TextLength: c_long, Info: *mut ISpeechTextSelectionInformation) -> HRESULT
§SetTextSelection: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Info: *mut ISpeechTextSelectionInformation) -> HRESULT
§IsPronounceable: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Word: BSTR, WordPronounceable: *mut SpeechWordPronounceable) -> HRESULT
Auto Trait Implementations§
impl Freeze for ISpeechRecoGrammarVtbl
impl RefUnwindSafe for ISpeechRecoGrammarVtbl
impl Send for ISpeechRecoGrammarVtbl
impl Sync for ISpeechRecoGrammarVtbl
impl Unpin for ISpeechRecoGrammarVtbl
impl UnwindSafe for ISpeechRecoGrammarVtbl
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