ISpRecoResult::GetResultTimes (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_POINTERpTimes is invalid or bad.
SPERR_NOT_FOUNDInterface 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.

Show: