Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method gets the time information associated with the result.
An application can use this method to determine the such things as 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.
HRESULT GetResultTimes(SPRECORESULTTIMES* pTimes);
Parameters
- pTimes
[out] Pointer to an SPRECORESULTTIMES structure containing time information associated with the result.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | pTimes is invalid or bad. |
SPERR_NOT_FOUND | Interface not found. |
Example
SDK: Coffee2, Coffee3, Coffee4.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.
See Also
ISpRecoResult | SAPI Interfaces
Send Feedback on this topic to the authors