[][src]Struct winapi::um::sapi53::ISpRecoGrammar2

#[repr(C)]pub struct ISpRecoGrammar2 {
    pub lpVtbl: *const ISpRecoGrammar2Vtbl,
}

Fields

lpVtbl: *const ISpRecoGrammar2Vtbl

Implementations

impl ISpRecoGrammar2[src]

pub unsafe fn GetRules(
    &self,
    ppCoMemRules: *mut *mut SPRULE,
    puNumRules: *mut UINT
) -> HRESULT
[src]

pub unsafe fn LoadCmdFromFile2(
    &self,
    pszFileName: LPCWSTR,
    Options: SPLOADOPTIONS,
    pszSharingUri: LPCWSTR,
    pszBaseUri: LPCWSTR
) -> HRESULT
[src]

pub unsafe fn LoadCmdFromMemory2(
    &self,
    pGrammar: *const SPBINARYGRAMMAR,
    Options: SPLOADOPTIONS,
    pszSharingUri: LPCWSTR,
    pszBaseUri: LPCWSTR
) -> HRESULT
[src]

pub unsafe fn SetRulePriority(
    &self,
    pszRuleName: LPCWSTR,
    ulRuleId: ULONG,
    nRulePriority: c_int
) -> HRESULT
[src]

pub unsafe fn SetRuleWeight(
    &self,
    pszRuleName: LPCWSTR,
    ulRuleId: ULONG,
    flWeight: c_float
) -> HRESULT
[src]

pub unsafe fn SetDictationWeight(&self, flWeight: c_float) -> HRESULT[src]

pub unsafe fn SetGrammarLoader(
    &self,
    pLoader: *mut ISpeechResourceLoader
) -> HRESULT
[src]

pub unsafe fn SetSMLSecurityManager(
    &self,
    pSMLSecurityManager: *mut IInternetSecurityManager
) -> HRESULT
[src]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Deref for ISpRecoGrammar2[src]

type Target = IUnknown

The resulting type after dereferencing.

impl Interface for ISpRecoGrammar2[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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> 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.