Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.