Microsoft Speech Platform
ISpPhrase2::GetXMLErrorInfo
ISpPhrase2::GetXMLErrorInfo provides error information for the phrase in SML (XML) format.
HRESULT GetXMLErrorInfo(
SPSEMANTICERRORINFO *pSemanticErrorInfo
);
Parameters
- pSemanticErrorInfo
- Indicates where an error occurred in semantic processing.
Return values
| Value | Description |
|---|---|
| S_OK | Function completed successfully. |
| E_INVALIDARG | pSemanticErrorInfo is invalid. |
| E_OUTOFMEMORY | Exceeded available memory. |
| S_FALSE | Information could not be returned because no script error occurred. |
| E_NOTIMPL | Engine does not support functionality. |