Trait windows::Win32::Media::Speech::ISpeechRecoResultDispatch_Impl
pub trait ISpeechRecoResultDispatch_Impl: Sized + IDispatch_Impl {
Show 13 methods
// Required methods
fn RecoContext(&self) -> Result<ISpeechRecoContext>;
fn Times(&self) -> Result<ISpeechRecoResultTimes>;
fn putref_AudioFormat(
&self,
format: Option<&ISpeechAudioFormat>,
) -> Result<()>;
fn AudioFormat(&self) -> Result<ISpeechAudioFormat>;
fn PhraseInfo(&self) -> Result<ISpeechPhraseInfo>;
fn Alternates(
&self,
requestcount: i32,
startelement: i32,
elements: i32,
) -> Result<ISpeechPhraseAlternates>;
fn Audio(
&self,
startelement: i32,
elements: i32,
) -> Result<ISpeechMemoryStream>;
fn SpeakAudio(
&self,
startelement: i32,
elements: i32,
flags: SpeechVoiceSpeakFlags,
) -> Result<i32>;
fn SaveToMemory(&self) -> Result<VARIANT>;
fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> Result<()>;
fn GetXMLResult(&self, options: SPXMLRESULTOPTIONS) -> Result<BSTR>;
fn GetXMLErrorInfo(
&self,
linenumber: *mut i32,
scriptline: *mut BSTR,
source: *mut BSTR,
description: *mut BSTR,
resultcode: *mut HRESULT,
iserror: *mut VARIANT_BOOL,
) -> Result<()>;
fn SetTextFeedback(
&self,
feedback: &BSTR,
wassuccessful: VARIANT_BOOL,
) -> Result<()>;
}
Required Methods§
fn RecoContext(&self) -> Result<ISpeechRecoContext>
fn Times(&self) -> Result<ISpeechRecoResultTimes>
fn putref_AudioFormat(&self, format: Option<&ISpeechAudioFormat>) -> Result<()>
fn AudioFormat(&self) -> Result<ISpeechAudioFormat>
fn PhraseInfo(&self) -> Result<ISpeechPhraseInfo>
fn Alternates( &self, requestcount: i32, startelement: i32, elements: i32, ) -> Result<ISpeechPhraseAlternates>
fn Audio(&self, startelement: i32, elements: i32) -> Result<ISpeechMemoryStream>
fn SpeakAudio( &self, startelement: i32, elements: i32, flags: SpeechVoiceSpeakFlags, ) -> Result<i32>
fn SaveToMemory(&self) -> Result<VARIANT>
fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> Result<()>
fn GetXMLResult(&self, options: SPXMLRESULTOPTIONS) -> Result<BSTR>
fn GetXMLErrorInfo( &self, linenumber: *mut i32, scriptline: *mut BSTR, source: *mut BSTR, description: *mut BSTR, resultcode: *mut HRESULT, iserror: *mut VARIANT_BOOL, ) -> Result<()>
fn SetTextFeedback( &self, feedback: &BSTR, wassuccessful: VARIANT_BOOL, ) -> Result<()>
Object Safety§
This trait is not object safe.