Share via


ISpXMLRecoResult::GetXMLResult (SAPI 5.3)

Microsoft Speech API 5.3

ISpXMLRecoResult::GetXMLResult

ISpXMLRecoResult::GetXMLResult returns the result as Semantic Markup Language (SML).

Recognition results are returned in Semantic Markup Language (SML), an XML format defined in the W3C document Semantic Interpretation for Speech Recognition.

  
    HRESULT GetXMLResult(
   LPWSTR                *ppszCoMemXMLResult,
   SPXMLRESULTOPTIONS     Options 
);

Parameters

  • ppszCoMemXMLResult
    [out] The SML will be placed in this string.
  • Options
    Used to specify whether the primary result or the alternate results should be returned.

Return values

Value
S_OK
E_POINTER
S_FALSE
E_NOTIMPL