ISpRecoResult::GetResultTimes (SAPI 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

Value
S_OK
E_POINTER
SPERR_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.