http://bugs.winehq.org/show_bug.cgi?id=10343
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2007-11-12 18:29:55 --- (In reply to comment #6)
#define MY_ID 1000 #define TIMEOUT 6000
...
hTimer = SetTimer(0, MY_ID, TIMEOUT, NULL); assert(hTimer > 0x7000);
if you're not satisfied with test case above, please read my notes one more time and proceed appropriately. I have quite nothing to add.
This test is invalid. From MSDN: "If the function succeeds and the hWnd parameter is NULL, the return value is an integer identifying the new timer."
"integer" the UINT_PTR type is 64-bit unsigned int. Which can have _ANY_ value, including 1.
So _assuming_ anything that is not documented is wrong. Which makes the bug in your program.
Closing invalid as you failed to demonstrate the problem. Yet you showed that bug in your own code.