ITTSCentral::ToFileTime

HRESULT ToFileTime(PQWORD pqTimeStamp, FILETIME *pFT);

Converts a QWORD representing the time in bytes to a Win32 FILETIME structure.

· Returns NOERROR if successful, or one of these error values:

<E_INVALIDARG>
<E_OUTOFMEMORY>
<TTSERR_VALUEOUTOFRANGE>

pqTimeStamp

[in] Time, in bytes, returned by the engine.

pFT

[out] Address of a variable that receives the Win32 FILETIME value of pqTimeStamp.

An application can use the value returned by ToFileTime to correlate real-time events with a time value returned by the engine. The value returned by the engine is an estimate that should be very accurate within a few seconds of the present, but becomes less accurate farther away from the present, due to time variations in the audio card's clock.