Struct windows::Win32::Media::Speech::ISpeechRecoGrammar_Vtbl
#[repr(C)]pub struct ISpeechRecoGrammar_Vtbl {Show 20 fields
pub base__: IDispatch_Vtbl,
pub Id: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT,
pub RecoContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetState: unsafe extern "system" fn(_: *mut c_void, _: SpeechGrammarState) -> HRESULT,
pub State: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechGrammarState) -> HRESULT,
pub Rules: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub Reset: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub CmdLoadFromFile: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: SpeechLoadOption) -> HRESULT,
pub CmdLoadFromObject: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: SpeechLoadOption) -> HRESULT,
pub CmdLoadFromResource: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<VARIANT>, _: MaybeUninit<VARIANT>, _: i32, _: SpeechLoadOption) -> HRESULT,
pub CmdLoadFromMemory: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<VARIANT>, _: SpeechLoadOption) -> HRESULT,
pub CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: MaybeUninit<VARIANT>, _: SpeechLoadOption) -> HRESULT,
pub CmdSetRuleState: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: SpeechRuleState) -> HRESULT,
pub CmdSetRuleIdState: unsafe extern "system" fn(_: *mut c_void, _: i32, _: SpeechRuleState) -> HRESULT,
pub DictationLoad: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: SpeechLoadOption) -> HRESULT,
pub DictationUnload: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub DictationSetState: unsafe extern "system" fn(_: *mut c_void, _: SpeechRuleState) -> HRESULT,
pub SetWordSequenceData: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: *mut c_void) -> HRESULT,
pub SetTextSelection: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub IsPronounceable: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut SpeechWordPronounceable) -> HRESULT,
}
Fields§
§base__: IDispatch_Vtbl
§Id: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT
§RecoContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetState: unsafe extern "system" fn(_: *mut c_void, _: SpeechGrammarState) -> HRESULT
§State: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechGrammarState) -> HRESULT
§Rules: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§Reset: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§CmdLoadFromFile: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: SpeechLoadOption) -> HRESULT
§CmdLoadFromObject: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: SpeechLoadOption) -> HRESULT
§CmdLoadFromResource: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<VARIANT>, _: MaybeUninit<VARIANT>, _: i32, _: SpeechLoadOption) -> HRESULT
§CmdLoadFromMemory: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<VARIANT>, _: SpeechLoadOption) -> HRESULT
§CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: MaybeUninit<BSTR>, _: MaybeUninit<VARIANT>, _: SpeechLoadOption) -> HRESULT
§CmdSetRuleState: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: SpeechRuleState) -> HRESULT
§CmdSetRuleIdState: unsafe extern "system" fn(_: *mut c_void, _: i32, _: SpeechRuleState) -> HRESULT
§DictationLoad: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: SpeechLoadOption) -> HRESULT
§DictationUnload: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§DictationSetState: unsafe extern "system" fn(_: *mut c_void, _: SpeechRuleState) -> HRESULT
§SetWordSequenceData: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: i32, _: *mut c_void) -> HRESULT
§SetTextSelection: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§IsPronounceable: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut SpeechWordPronounceable) -> HRESULT
Implementations§
§impl ISpeechRecoGrammar_Vtbl
impl ISpeechRecoGrammar_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ISpeechRecoGrammar_Vtblwhere
Identity: ISpeechRecoGrammar_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ISpeechRecoGrammar_Vtbl
impl RefUnwindSafe for ISpeechRecoGrammar_Vtbl
impl Send for ISpeechRecoGrammar_Vtbl
impl Sync for ISpeechRecoGrammar_Vtbl
impl Unpin for ISpeechRecoGrammar_Vtbl
impl UnwindSafe for ISpeechRecoGrammar_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