#[repr(C)]pub struct ISpRecoResult2 {
pub lpVtbl: *const ISpRecoResult2Vtbl,
}
Fields§
§lpVtbl: *const ISpRecoResult2Vtbl
Implementations§
Source§impl ISpRecoResult2
impl ISpRecoResult2
pub unsafe fn CommitAlternate( &self, pPhraseAlt: *mut ISpPhraseAlt, ppNewResult: *mut *mut ISpRecoResult, ) -> HRESULT
pub unsafe fn CommitText( &self, ulStartElement: ULONG, cElements: ULONG, pszCorrectedData: LPCWSTR, eCommitFlags: DWORD, ) -> HRESULT
pub unsafe fn SetTextFeedback( &self, pszFeedback: LPCWSTR, fSuccessful: BOOL, ) -> HRESULT
Methods from Deref<Target = ISpRecoResult>§
pub unsafe fn GetResultTimes(&self, pTimes: *mut SPRECORESULTTIMES) -> HRESULT
pub unsafe fn GetAlternates( &self, ulStartElement: ULONG, cElements: ULONG, ulRequestCount: ULONG, ppPhrases: *mut *mut ISpPhraseAlt, pcPhrasesReturned: *mut ULONG, ) -> HRESULT
pub unsafe fn GetAudio( &self, ulStartElement: ULONG, cElements: ULONG, ppStream: *mut *mut ISpStreamFormat, ) -> HRESULT
pub unsafe fn SpeakAudio( &self, ulStartElement: ULONG, cElements: ULONG, dwFlags: DWORD, pulStreamNumber: *mut ULONG, ) -> HRESULT
pub unsafe fn Serialize( &self, ppCoMemSerializedResult: *mut *mut SPSERIALIZEDRESULT, ) -> HRESULT
pub unsafe fn ScaleAudio( &self, pAudioFormatId: *const GUID, pWaveFormatEx: *const WAVEFORMATEX, ) -> HRESULT
pub unsafe fn GetRecoContext( &self, ppRecoContext: *mut *mut ISpRecoContext, ) -> HRESULT
Methods from Deref<Target = ISpPhrase>§
pub unsafe fn GetPhrase(&self, ppCoMemPhrase: *mut *mut SPPHRASE) -> HRESULT
pub unsafe fn GetSerializedPhrase( &self, ppCoMemPhrase: *mut *mut SPSERIALIZEDPHRASE, ) -> HRESULT
pub unsafe fn GetText( &self, ulStart: ULONG, ulCount: ULONG, fUseTextReplacements: BOOL, ppszCoMemText: *mut LPWSTR, pbDisplayAttributes: *mut BYTE, ) -> HRESULT
pub unsafe fn Discard(&self, dwValueTypes: DWORD) -> HRESULT
Trait Implementations§
Source§impl Deref for ISpRecoResult2
impl Deref for ISpRecoResult2
Source§type Target = ISpRecoResult
type Target = ISpRecoResult
The resulting type after dereferencing.
Source§fn deref(&self) -> &ISpRecoResult
fn deref(&self) -> &ISpRecoResult
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ISpRecoResult2
impl RefUnwindSafe for ISpRecoResult2
impl !Send for ISpRecoResult2
impl !Sync for ISpRecoResult2
impl Unpin for ISpRecoResult2
impl UnwindSafe for ISpRecoResult2
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