ISpRecoResult::GetResultTimes (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpRecoResult::GetResultTimes

ISpRecoResult::GetResultTimes retrieves the time information associated with the result.

HRESULT GetResultTimes(
   SPRECORESULTTIMES   *pTimes
);

Parameters

pTimes
[out] Address of the SPRECORESULTTIMES data structure containing the time information associated with the result.

Return values

Value Description
S_OK Function completed successfully.
E_POINTER pTimes is invalid or bad.
SPERR_NOT_FOUND Interface not found.

Remarks

An application can use ::GetResultTimes to determine the system time that a recognition occurred, the length in seconds of the recognized phrase, and the length of time between when the SR engine began listening and when the recognition occurred.