reactos/win32ss/user
Tomáš Veselý cf955094b4
[NTUSER] IntSetTimer(): Use timer IDs range [256,32767] as on Windows (#7277)
Based on the Doug Lyons' test in #7087, I found that my previous fix stopped working partially. Or rather, it would only work until the 32767 indexes were exhausted. It seems to me that the behavior of the bitfield has changed, because when I published the previous patch, it passed my tests.

- Bit array generates free ID cyclically, in the previous code after 32767 indexes expired the same index was returned, because of this the previous fix would stop working after expiration, so change the logic of calculating the next index.
- Change the index range to 256-32767 to match Windows, indexes 0-255 can theoretically be used as reserved for system purposes.

Addendum to fd327db20f. CORE-9141
2024-10-22 18:10:34 +03:00
..
ntuser [NTUSER] IntSetTimer(): Use timer IDs range [256,32767] as on Windows (#7277) 2024-10-22 18:10:34 +03:00
rtl [NTUSER][USER32] Populate dwExpWinVer (#7095) 2024-07-09 04:22:14 +09:00
user32 [USER32] Hackfix for CORE-17902 - The cursoricon (copyimage) that returns NULL to render - LR_COPYFROMRESOURCE (#6886) 2024-10-07 05:46:02 -05:00
user32_vista [*_VISTA] Add/Improve version resources 2024-08-13 12:39:42 +02:00
winsrv [REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp 2024-10-20 14:12:25 +03:00