Microsoft Speech Platform
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
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | ppszCoMemXMLResult 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. |