Share via


ISpRecoResult::GetResultTimes (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

HRESULT GetResultTimes(
  SPRECORESULTTIMES* pTimes
);

Parameters

  • pTimes
    [out] Pointer to an SPRECORESULTTIMES structure containing time information associated with the result.

Return Value

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

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpRecoResult
SAPI Interfaces