Compartir a través de


ISpPhrase2::GetXMLResult (SAPI 5.3)

Microsoft Speech API 5.3

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
S_OK
E_POINTER
SPERR_SML_GENERATION_FAIL
The SML could not be generated.
E_OUTOFMEMORY
Exceeded available memory.
E_NOTIMPL
Engine does not support this functionality.