Export (0) Print
Expand All

ISpXMLRecoResult::GetXMLResult (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpXMLRecoResult::GetXMLResult

ISpXMLRecoResult::GetXMLResult returns the result as Semantic Markup Language (SML).

Recognition results are returned in Semantic Markup Language (SML), an XML format defined in the W3C document Semantic Interpretation for Speech Recognition.


HRESULT GetXMLResult(
   LPWSTR                *ppszCoMemXMLResult,
   SPXMLRESULTOPTIONS     Options 
);

Parameters

ppszCoMemXMLResult
[out] The SML will be placed in this string.
Options
Used to specify whether the primary result or the alternate results should be returned.

Return values

ValueDescription
S_OKFunction completed successfully.
E_POINTERppszCoMemXMLResult is invalid.
S_FALSEAn empty false reco (no elements) or hypothesis occurred.
E_NOTIMPLEngine does not support functionality.
Show:
© 2014 Microsoft