#[repr(C)]pub struct ISpRecoContext {
pub lpVtbl: *const ISpRecoContextVtbl,
}
Fields§
§lpVtbl: *const ISpRecoContextVtbl
Implementations§
Source§impl ISpRecoContext
impl ISpRecoContext
pub unsafe fn GetRecognizer( &self, ppRecognizer: *mut *mut ISpRecognizer, ) -> HRESULT
pub unsafe fn CreateGrammer( &self, ullGrammarId: ULONGLONG, ppGrammar: *mut *mut ISpRecoGrammar, ) -> HRESULT
pub unsafe fn GetStatus(&self, pState: *mut SPRECOCONTEXTSTATUS) -> HRESULT
pub unsafe fn GetMaxAlternates(&self, pcAlternates: *mut ULONG) -> HRESULT
pub unsafe fn SetMaxAlternates(&self, cAlternates: ULONG) -> HRESULT
pub unsafe fn SetAudioOptions( &self, Options: SPAUDIOOPTIONS, pAudioFormatId: *const GUID, pWaveFormatEx: *const WAVEFORMATEX, ) -> HRESULT
pub unsafe fn GetAudioOptions( &self, pOptions: *mut SPAUDIOOPTIONS, pAudioFormatId: *mut GUID, ppCoMemWFEX: *mut *mut WAVEFORMATEX, ) -> HRESULT
pub unsafe fn DeserializeResult( &self, pSerializedResult: *const SPSERIALIZEDRESULT, ppResult: *mut *mut ISpRecoResult, ) -> HRESULT
pub unsafe fn Bookmark( &self, Options: SPBOOKMARKOPTIONS, ullStreamPosition: ULONGLONG, lparamEvent: LPARAM, ) -> HRESULT
pub unsafe fn SetAdaptionData( &self, pAdaptionData: LPCWSTR, cch: ULONG, ) -> HRESULT
pub unsafe fn Pause(&self, dwReserved: DWORD) -> HRESULT
pub unsafe fn Resume(&self, dwReserved: DWORD) -> HRESULT
pub unsafe fn SetVoice( &self, pVoice: *mut ISpVoice, fAllowFormatChanges: BOOL, ) -> HRESULT
pub unsafe fn GetVoice(&self, ppVoice: *mut *mut ISpVoice) -> HRESULT
pub unsafe fn SetVoicePurgeEvent(&self, ullEventIntereset: ULONGLONG) -> HRESULT
pub unsafe fn GetVoicePurgeEvent( &self, pullEventIntereset: *mut ULONGLONG, ) -> HRESULT
pub unsafe fn SetContextState(&self, eContextState: SPCONTEXTSTATE) -> HRESULT
pub unsafe fn GetContextState( &self, peContextState: *mut SPCONTEXTSTATE, ) -> HRESULT
Methods from Deref<Target = ISpEventSource>§
pub unsafe fn SetInterest( &self, ullEventInterest: ULONGLONG, ullQueuedInterest: ULONGLONG, ) -> HRESULT
pub unsafe fn GetEvents( &self, ulCount: ULONG, pEventArray: *mut SPEVENT, pulFetched: *mut ULONG, ) -> HRESULT
pub unsafe fn GetInfo(&self, pInfo: *mut SPEVENTSOURCEINFO) -> HRESULT
Methods from Deref<Target = ISpNotifySource>§
pub unsafe fn SetNotifySink(&self, pNotifySink: *mut ISpNotifySink) -> HRESULT
pub unsafe fn SetNotifyWindowMessage( &self, hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM, ) -> HRESULT
pub unsafe fn SetNotifyCallbackFunction( &self, pfnCallback: SPNOTIFYCALLBACK, wParam: WPARAM, lParam: LPARAM, ) -> HRESULT
pub unsafe fn SetNotifyCallbackInterface( &self, pSpCallback: *mut ISpNotifyCallback, wParam: WPARAM, lParam: LPARAM, ) -> HRESULT
pub unsafe fn SetNotifyWin32Event(&self) -> HRESULT
pub unsafe fn WaitForNotifyEvent(&self, dwMilliseconds: DWORD) -> HRESULT
pub unsafe fn GetNotifyEventHandle(&self) -> HANDLE
Trait Implementations§
Source§impl Deref for ISpRecoContext
impl Deref for ISpRecoContext
Source§type Target = ISpEventSource
type Target = ISpEventSource
The resulting type after dereferencing.
Source§fn deref(&self) -> &ISpEventSource
fn deref(&self) -> &ISpEventSource
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ISpRecoContext
impl RefUnwindSafe for ISpRecoContext
impl !Send for ISpRecoContext
impl !Sync for ISpRecoContext
impl Unpin for ISpRecoContext
impl UnwindSafe for ISpRecoContext
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