Export (0) Print
Expand All

ISpSRAlternates2::CommitText (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpSRAlternates2::CommitText

ISpSRAlternates2::CommitText is used when an application commits particular text.


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

Parameters

ulStartElement
The starting element to consider.
cElements
The number of elements to consider.
pszCorrectedText
The corrected text that is to be committed.
eCommitFlags
One or more values from the SPCOMMITFLAGS enumeration.

Return values

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGA parameter is invalid.
Show:
© 2014 Microsoft