Partager via


ISpRecoResult2::SetTextFeedback (SAPI 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

Value
S_OK
E_INVALIDARG
FAILED(hr)