Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.3
SPSEMANTICERRORINFO
New in SAPI 5.3
Represents information about a recognition error.
SPSEMANTICERRORINFO is used with functions of the ISpXMLRecoResult and ISpPhrase2 interfaces to describe errors that occurred while generating semantic results (SML).
typedef struct SPSEMANTICERRORINFO
{
ULONG ulLineNumber;
LPWSTR pszScriptLine;
LPWSTR pszSource;
LPWSTR pszDescription;
HRESULT hrResultCode;
} SPSEMANTICERRORINFO;
Members
- ulLineNumber
The line number where the error occurred. - pszScriptLine
The text of the line where the error occurred. - pszSource
The location of the file in which the error occurred. - pszDescription
A description of the error. - hrResultCode
The code number of the error.