server: Make timer id allocation algorithm conform to the Windows one

Uwe Bonnes bon at
Wed Nov 14 16:58:31 CST 2007

>>>>> "Dmitry" == Dmitry Timoshkov <dmitry at> writes:

    Dmitry> Hello, this patch should fix the problem reported in the bug
    Dmitry> 10343. My test which calls SetTimer in an infinite loop shows
    Dmitry> that XP starts to allocate timer ids at 0x7fff and goes
    Dmitry> backwards to 0x101, then restarts from 0x7fff.

Isn't this worth a test suite case?

Uwe Bonnes                bon at

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the wine-devel mailing list