Export (0) Print
Expand All

ISpRecoResult2::CommitText (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpRecoResult2::CommitText

ISpRecoResult2::CommitText commits some new text for recognizer learning.


HRESULT CommitText(
   ULONG      ulStartElement,
   ULONG      cElements,
   LPCWSTR    pszCorrectedData,
   DWORD      eCommitFlags   
);

Parameters

ulStartElement
The first element to replace.
cElements
The number of elements to replace.
pszCorrectedData
The corrected text.
eCommitFlags
One or more values from the SPCOMMITFLAGS enumeration that indicate the nature of the correction.

Return values

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGOne of the parameters is invalid.
Show:
© 2014 Microsoft