Share via


SPSEMANTICERRORINFO (SAPI 5.4)

Microsoft Speech API 5.4

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.