Export (0) Print
Expand All

ISpRecoResult2::SetTextFeedback (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpRecoResult2::SetTextFeedback

ISpRecoResult2::SetTextFeedback provides text to the operating system's built-in speech user experience's GUI to display to the user.


HRESULT SetTextFeedback(
   LPCWSTR    pszFeedback,
   BOOL       fSuccessful
);

Parameters

pszFeedback
The text to display.
fSuccessful
Indicates whether the recognition was acted on or rejected.

Return values

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGpszFeedback is invalid.
FAILED(hr)Appropriate error message.
Show:
© 2014 Microsoft