Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
::GetXMLResult
Collapse the table of content
Expand the table of content

ISpPhrase2::GetXMLResult (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpPhrase2::GetXMLResult

ISpPhrase2::GetXMLResult provides result information for the phrase in SML (XML) format.


HRESULT GetXMLResult(
   LPWSTR               *ppszCoMemXMLResult,
   SPXMLRESULTOPTIONS    Options
);

Parameters

ppszCoMemXMLResult
[out] Returns a string containing the result in SML (XML) format.
Options
Indicates whether to return just the main result or the main result and the alternates.

Return values

ValueDescription
S_OKFunction completed successfully.
E_POINTERppszCoMemXMLResult is invalid.
SPERR_SML_GENERATION_FAIL
The SML could not be generated.
E_OUTOFMEMORY
Exceeded available memory.
E_NOTIMPL
Engine does not support this functionality.
Show:
© 2015 Microsoft