HRESULT Validate(WORD wConfidence);
Notifies a speech-recognition engine that the utterance was correctly recognized.
· Returns NOERROR if successful, or one of these error values:
E_INVALIDARG
E_OUTOFMEMORY
SRERR_NOTENOUGHDATA
SRERR_NOTSUPPORTED
wConfidence
[in] Application's level of confidence that it knows what the speaker actually said. This parameter can be one of these values.
Value | Meaning |
SRCORCONFIDENCE_SOME | The application is somewhat confident because the speaker has not indicated that the utterance was recognized incorrectly. |
SRCORCONFIDENCE_VERY | The application is very confident because the speaker explicitly verified that the utterance was recognized correctly. |