[][src]Struct winapi::um::sapi51::ISpRecoGrammarVtbl

#[repr(C)]
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: ISpGrammarBuilderVtblGetGrammarId: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pullGrammarId: *mut ULONGLONG) -> HRESULTGetRecoContext: unsafe extern "system" fn(This: *mut ISpRecoGrammar, ppRecoCtxt: *mut *mut ISpRecoContext) -> HRESULTLoadCmdFromFile: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszFileName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULTLoadCmdFromObject: unsafe extern "system" fn(This: *mut ISpRecoGrammar, rcid: REFCLSID, pszGrammarName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULTLoadCmdFromResource: unsafe extern "system" fn(This: *mut ISpRecoGrammar, hModule: HMODULE, pszResourceName: LPCWSTR, pszResourceType: LPCWSTR, wLanguage: WORD, Options: SPLOADOPTIONS) -> HRESULTLoadCmdFromMemory: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pGrammar: *const SPBINARYGRAMMAR, Options: SPLOADOPTIONS) -> HRESULTLoadCmdFromProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpRecoGrammar, rguidParam: REFGUID, pszStringParam: LPCWSTR, pvDataPrarm: *const c_void, cbDataSize: ULONG, Options: SPLOADOPTIONS) -> HRESULTSetRuleState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszName: LPCWSTR, pReserved: *mut c_void, NewState: SPRULESTATE) -> HRESULTSetRuleIdState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, ulRuleId: ULONG, NewState: SPRULESTATE) -> HRESULTLoadDictation: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszTopicName: LPCWSTR, Options: SPLOADOPTIONS) -> HRESULTUnloadDictation: unsafe extern "system" fn(This: *mut ISpRecoGrammar) -> HRESULTSetDictationState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, NewState: SPRULESTATE) -> HRESULTSetWordSequenceData: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pText: *const WCHAR, cchText: ULONG, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULTSetTextSelection: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pInfo: *const SPTEXTSELECTIONINFO) -> HRESULTIsPronounceable: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pszWord: LPCWSTR, pWordPronounceable: *mut SPWORDPRONOUNCEABLE) -> HRESULTSetGrammarState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, eGrammarState: SPGRAMMARSTATE) -> HRESULTSaveCmd: unsafe extern "system" fn(This: *mut ISpRecoGrammar, pStream: *mut IStream, ppszCoMemErrorText: *mut LPWSTR) -> HRESULTGetGrammarState: unsafe extern "system" fn(This: *mut ISpRecoGrammar, peGrammarState: *mut SPGRAMMARSTATE) -> HRESULT

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]