Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Value |
S_OK |
E_INVALIDARG |