ISRCentral::ToFileTime

HRESULT ToFileTime(PQWORD pqWord, 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
SRERR_VALUEOUTOFRANGE

pqWord

[in] Address of a variable that contains the time, in bytes, that was returned by the engine.

pFT

[out] Address of a FILETIME structure that receives the time.

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 accurate to within a few seconds of the present time, but becomes less accurate further away from the present due to time variations in the audio card's clock.