Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpRecoResult::GetResultTimes
ISpRecoResult::GetResultTimes retrieves the time information associated with the result.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetResultTimes(</strong><a runat="server" href="jj127880(v=msdn.10).md"><strong>SPRECORESULTTIMES</strong></a> <em>*pTimes</em> <strong>);</strong> </pre>
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.