ISpSREngineSite2

Struct ISpSREngineSite2 

Source
#[repr(C)]
pub struct ISpSREngineSite2 { pub lpVtbl: *const ISpSREngineSite2Vtbl, }

Fields§

§lpVtbl: *const ISpSREngineSite2Vtbl

Implementations§

Source§

impl ISpSREngineSite2

Source

pub unsafe fn AddEventEx( &self, pEvent: *const SPEVENTEX, hSAPIRecoContext: SPRECOCONTEXTHANDLE, ) -> HRESULT

Source

pub unsafe fn UpdateRecoPosEx( &self, ullCurrentRecoPos: ULONGLONG, ullCurrentRecoTime: ULONGLONG, ) -> HRESULT

Source

pub unsafe fn GetRuleTransition( &self, ulGrammarID: ULONG, RuleIndex: ULONG, pTrans: *mut SPTRANSITIONENTRY, ) -> HRESULT

Source

pub unsafe fn RecognitionEx( &self, pResultInfo: *const SPRECORESULTINFOEX, ) -> HRESULT

Methods from Deref<Target = ISpSREngineSite>§

Source

pub unsafe fn Read( &self, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG, ) -> HRESULT

Source

pub unsafe fn DataAvailable(&self, pcb: *mut ULONG) -> HRESULT

Source

pub unsafe fn SetBufferNotifySize(&self, cbSize: ULONG) -> HRESULT

Source

pub unsafe fn ParseFromTransitions( &self, pParseInfo: *const SPPARSEINFO, ppNewPhrase: *mut *mut ISpPhraseBuilder, ) -> HRESULT

Source

pub unsafe fn Recognition( &self, pResultInfo: *const SPRECORESULTINFO, ) -> HRESULT

Source

pub unsafe fn AddEvent( &self, pEvent: *const SPEVENT, hSAPIRecoContext: SPRECOCONTEXTHANDLE, ) -> HRESULT

Source

pub unsafe fn Synchronize(&self, ullProcessedThruPos: ULONGLONG) -> HRESULT

Source

pub unsafe fn GetWordInfo( &self, pWordEntry: *mut SPWORDENTRY, Options: SPWORDINFOOPT, ) -> HRESULT

Source

pub unsafe fn SetWordClientContext( &self, hWord: SPWORDHANDLE, pvClientContext: *mut c_void, ) -> HRESULT

Source

pub unsafe fn GetRuleInfo( &self, pRuleEntry: *mut SPRULEENTRY, Options: SPRULEINFOOPT, ) -> HRESULT

Source

pub unsafe fn SetRuleClientContext( &self, hRule: SPRULEHANDLE, pvClientContext: *mut c_void, ) -> HRESULT

Source

pub unsafe fn GetStateInfo( &self, hState: SPSTATEHANDLE, pStateInfo: *mut SPSTATEINFO, ) -> HRESULT

Source

pub unsafe fn GetResource( &self, hRule: SPRULEHANDLE, pszResourceName: LPCWSTR, ppCoMemResource: *mut LPWSTR, ) -> HRESULT

Source

pub unsafe fn GetTransitionProperty( &self, ID: SPTRANSITIONID, ppCoMemProperty: *mut *mut SPTRANSITIONPROPERTY, ) -> HRESULT

Source

pub unsafe fn IsAlternate( &self, hRule: SPRULEHANDLE, hAltRule: SPRULEHANDLE, ) -> HRESULT

Source

pub unsafe fn GetMaxAlternates( &self, hRule: SPRULEHANDLE, pulNumAlts: *mut ULONG, ) -> HRESULT

Source

pub unsafe fn GetContextMaxAlternates( &self, hContext: SPRECOCONTEXTHANDLE, pulNumAlts: *mut ULONG, ) -> HRESULT

Source

pub unsafe fn UpdateRecoPos(&self, ullCurrentRecoPos: ULONGLONG) -> HRESULT

Methods from Deref<Target = IUnknown>§

Source

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

Source

pub unsafe fn AddRef(&self) -> ULONG

Source

pub unsafe fn Release(&self) -> ULONG

Trait Implementations§

Source§

impl Deref for ISpSREngineSite2

Source§

type Target = ISpSREngineSite

The resulting type after dereferencing.
Source§

fn deref(&self) -> &ISpSREngineSite

Dereferences the value.
Source§

impl Interface for ISpSREngineSite2

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.