#[repr(C)]pub struct ISpeechRecoGrammar {
pub lpVtbl: *const ISpeechRecoGrammarVtbl,
}
Fields§
§lpVtbl: *const ISpeechRecoGrammarVtbl
Implementations§
Source§impl ISpeechRecoGrammar
impl ISpeechRecoGrammar
pub unsafe fn get_Id(&self, Id: *mut VARIANT) -> HRESULT
pub unsafe fn get_RecoContext( &self, RecoContext: *mut *mut ISpeechRecoContext, ) -> HRESULT
pub unsafe fn put_State(&self, State: SpeechGrammarState) -> HRESULT
pub unsafe fn get_State(&self, State: *mut SpeechGrammarState) -> HRESULT
pub unsafe fn get_Rules(&self, Rules: *mut *mut ISpeechGrammarRules) -> HRESULT
pub unsafe fn Reset(&self, NewLanguage: SpeechLanguageId) -> HRESULT
pub unsafe fn CmdLoadFromFile( &self, FileName: BSTR, LoadOption: SpeechLoadOption, ) -> HRESULT
pub unsafe fn CmdLoadFromObject( &self, ClassId: BSTR, GrammarName: BSTR, LoadOption: SpeechLoadOption, ) -> HRESULT
pub unsafe fn CmdLoadFromResource( &self, hModule: c_long, ResourceName: VARIANT, ResourceType: VARIANT, LanguageId: SpeechLanguageId, LoadOption: SpeechLoadOption, ) -> HRESULT
pub unsafe fn CmdLoadFromMemory( &self, GrammarData: VARIANT, LoadOption: SpeechLoadOption, ) -> HRESULT
pub unsafe fn CmdLoadFromProprietaryGrammar( &self, ProprietaryGuid: BSTR, PriorietaryString: BSTR, ProprietaryData: VARIANT, LoadOption: SpeechLoadOption, ) -> HRESULT
pub unsafe fn CmdSetRuleState( &self, Name: BSTR, State: SpeechRuleState, ) -> HRESULT
pub unsafe fn CmdSetRuleIdState( &self, RuleId: c_long, State: SpeechRuleState, ) -> HRESULT
pub unsafe fn DictationLoad( &self, TopicName: BSTR, LoadOption: SpeechLoadOption, ) -> HRESULT
pub unsafe fn DictationUnload(&self) -> HRESULT
pub unsafe fn DictationSetState(&self, State: SpeechRuleState) -> HRESULT
pub unsafe fn SetWordSequenceData( &self, Text: BSTR, TextLength: c_long, Info: *mut ISpeechTextSelectionInformation, ) -> HRESULT
pub unsafe fn SetTextSelection( &self, Info: *mut ISpeechTextSelectionInformation, ) -> HRESULT
pub unsafe fn IsPronounceable( &self, Word: BSTR, WordPronounceable: *mut SpeechWordPronounceable, ) -> HRESULT
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self, pctinfo: *mut UINT) -> HRESULT
pub unsafe fn GetTypeInfo( &self, iTInfo: UINT, lcid: LCID, ppTInfo: *mut *mut ITypeInfo, ) -> HRESULT
pub unsafe fn GetIDsOfNames( &self, riid: REFIID, rgszNames: *mut LPOLESTR, cNames: UINT, lcid: LCID, rgDispId: *mut DISPID, ) -> HRESULT
pub unsafe fn Invoke( &self, dispIdMember: DISPID, riid: REFIID, lcid: LCID, wFlags: WORD, pDispParams: *mut DISPPARAMS, pVarResult: *mut VARIANT, pExcepInfo: *mut EXCEPINFO, puArgErr: *mut UINT, ) -> HRESULT
Trait Implementations§
Source§impl Deref for ISpeechRecoGrammar
impl Deref for ISpeechRecoGrammar
Auto Trait Implementations§
impl Freeze for ISpeechRecoGrammar
impl RefUnwindSafe for ISpeechRecoGrammar
impl !Send for ISpeechRecoGrammar
impl !Sync for ISpeechRecoGrammar
impl Unpin for ISpeechRecoGrammar
impl UnwindSafe for ISpeechRecoGrammar
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