[PATCH 3/3] winmm: Reset the tick counter after handling messages. (rebased)