reactos/win32ss
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
..
drivers [VIDEOPRT] Allow conflicting resources if this is the video base driver 2024-10-11 20:35:23 +02:00
gdi [REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp 2024-10-20 14:12:25 +03:00
include [USER32][NTUSER] Implement (NtUser)SetClassLongPtr(A/W) 2024-09-15 12:09:09 +03:00
printing [REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp 2024-10-20 14:12:25 +03:00
reactx [DXG] Don't repeat "DXG" module name in version info 2023-12-01 08:23:13 +07:00
user [NTUSER] IntSetTimer(): Use timer IDs range [256,32767] as on Windows (#7277) 2024-10-22 18:10:34 +03:00
CMakeLists.txt [NTUSER] Stubplement the Win32 power manager 2024-07-13 11:30:19 +02:00
napi.h [WIN32K][WIN32U] Fix system call ids (#5287) 2023-05-28 16:19:50 +03:00
pch.h [REACTOS] Standardize <imm.h> and <immdev.h> (#6493) 2024-02-13 20:33:14 +09:00
sys-stubs.S [WIN32K][WIN32U] Fix system call ids (#5287) 2023-05-28 16:19:50 +03:00
w32ksvc32.h [WIN32K][WIN32U] Fix system call ids (#5287) 2023-05-28 16:19:50 +03:00
w32ksvc64.h [USER32][NTUSER] Implement (NtUser)SetClassLongPtr(A/W) 2024-09-15 12:09:09 +03:00
win32k.h
win32k.rc
win32k.spec [WIN32K] Add x64/arm exports 2021-06-12 14:11:14 +02:00
win32kp.h [NTUSER] Stubplement the Win32 power manager 2024-07-13 11:30:19 +02:00