kernel32: Use the monotonic counter in GetTickCount64.

Joerg-Cyril.Hoehle at Joerg-Cyril.Hoehle at
Wed Feb 6 11:47:59 CST 2013


I believe we should use this opportunity and review the usage of timers in Wine.

E.g. I have a patch to have CreateTimerqueue use the monotonic timer too
that I'll submit after some more testing.
Mmdevapi's audio currently depends on the TimerQueue which IMHO erroneously
depends on gettimeofday() instead of clocks not affected by DST and NTP.
As a result, strange things should happen to Wine audio each time the clock is adjusted...

What do you think?

BTW, MSDN is wonderfully inconsistent - witness "system time":

"System time is the current date and time of day. [...] The system bases system time on coordinated universal time (UTC)."

"The system time is the time, in milliseconds, since the Microsoft Windows operating system was started."

The latter is within the context of windows multimedia.  I believe different teams at MS wrote documents
without cross-checking their use of vocabulary. As a result, expressions don't mean the same things.

 Jörg Höhle

More information about the wine-devel mailing list