reactos/win32ss/user/ntuser
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
..
misc [WIN32SS] Fix const-ness of registry helper functions (#6525) 2024-02-23 21:26:12 +09:00
accelerator.c [NTUSER] Use UserHMGetHandle macro (#6244) 2024-01-05 07:16:44 +07:00
accelerator.h
callback.c [NTUSER][USER32][IMM32] Initialize pKL->piiex by using ImmLoadLayout (#4645) 2022-09-05 08:34:00 +09:00
callback.h [NTUSER][USER32][IMM32] Initialize pKL->piiex by using ImmLoadLayout (#4645) 2022-09-05 08:34:00 +09:00
callproc.c
caret.c [NTUSER] Use UserHMGetHandle macro (#6244) 2024-01-05 07:16:44 +07:00
caret.h
class.c [USER32][NTUSER] Implement (NtUser)SetClassLongPtr(A/W) 2024-09-15 12:09:09 +03:00
class.h [WIN32SS][USER32] Add Ghost codes (retrial of #1100) (#1112) 2018-12-11 12:30:59 +09:00
clipboard.c [NTUSER] Use UserHMGetHandle macro (#6244) 2024-01-05 07:16:44 +07:00
clipboard.h
console.c [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
csr.c [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
csr.h [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
cursoricon.c [NTUSER] UserSetCursorPos(): Use an early return 2024-04-20 13:57:35 -06:00
cursoricon.h
dce.h [REACTOS] Addendum to 5c7ce4475e - Fix MSVC 2015 build 2021-05-12 11:04:29 +02:00
dde.c
defwnd.c [NTUSER] Rewrite Window Snap handling (#5705) 2024-08-11 20:21:58 +02:00
desktop.c [WIN32K] Fix protection of USER heap 2024-09-24 13:32:28 +03:00
desktop.h [WIN32K:NTUSER] Implement security infrastructure for NTUSER component 2022-05-06 10:09:48 +02:00
display.c [WIN32SS:USER] Remove assignation of gpPrimaryGraphicsDevice (already done in EngpUpdateGraphicsDeviceList) 2024-10-14 23:26:10 +02:00
display.h [WIN32SS:NTUSER] Extract InitVideo() prototype and gbBaseVideo variable to header 2022-11-15 23:15:26 +01:00
draw.c [NTUSER][USER32] Classic Theme: disabled "checked" checkboxes should be grey (#4874) 2022-11-14 00:01:29 +01:00
event.c [IMM32][NTUSER] Use HandleToUlong, UlongToHandle etc. macros (#7180) 2024-07-29 07:15:44 +09:00
focus.c [NTUSER] Release modifier keys when deactivating message queue (#6754) 2024-04-26 07:12:02 +07:00
focus.h [NTUSER] Implement HSHELL_RUDEAPPACTIVATE notification (#4147) 2021-12-08 18:26:22 +09:00
ghost.c [WIN32SS:USER] Some minimal work and fixes concerning message queues timeouts. 2019-12-29 16:14:15 +01:00
ghost.h [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
guicheck.c [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
guicheck.h
hook.c [NTUSER] Use UserHMGetHandle macro (#6244) 2024-01-05 07:16:44 +07:00
hook.h [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
hotkey.c [REACTOS] Fix typos in comments (#5591) 2023-08-22 16:20:29 +03:00
hotkey.h [WIN32SS:NTUSER] Implement "Window Snap" feature (#1226) 2019-01-15 14:36:41 +01:00
ime.c [IMM32][NTUSER] Use HandleToUlong, UlongToHandle etc. macros (#7180) 2024-07-29 07:15:44 +09:00
input.c [REACTOS] Fix typos in comments (#5591) 2023-08-22 16:20:29 +03:00
input.h [SDK][NTUSER] s/KLF_UNLOAD/KL_UNLOAD/ (#7196) 2024-07-29 19:30:49 +09:00
kbdlayout.c [NTUSER] Use co_UserActivateKeyboardLayout in loading (#7200) 2024-08-02 04:35:05 +09:00
keyboard.c [SDK][NTUSER] s/KLF_UNLOAD/KL_UNLOAD/ (#7196) 2024-07-29 19:30:49 +09:00
layered.c
main.c [WIN32K] ASSERT that all callout references have been cleaned up on thread exit 2024-10-20 09:35:14 +03:00
menu.c [NTUSER] Fix popup menu placement when part way off right edge of screen (#7220) 2024-08-10 16:00:44 -05:00
menu.h
message.c [REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp 2024-10-20 14:12:25 +03:00
metric.c [BOOTDATA][IMM32][NTUSER] Follow-up to #6961 (#6962) 2024-05-29 01:14:52 +09:00
misc.c [IMM32][NTUSER] Use HandleToUlong, UlongToHandle etc. macros (#7180) 2024-07-29 07:15:44 +09:00
mmcopy.h
monitor.c
monitor.h
mouse.c [NTUSER] Support MK_SHIFT/MK_CONTROL of mouse messages (#2038) 2019-11-16 09:49:49 +09:00
msgqueue.c [IMM32][NTUSER] Use HandleToUlong, UlongToHandle etc. macros (#7180) 2024-07-29 07:15:44 +09:00
msgqueue.h [NTUSER] Release modifier keys when deactivating message queue (#6754) 2024-04-26 07:12:02 +07:00
nonclient.c [NTUSER] Rewrite Window Snap handling (#5705) 2024-08-11 20:21:58 +02:00
ntstubs.c [USER32][NTUSER] Implement (NtUser)SetClassLongPtr(A/W) 2024-09-15 12:09:09 +03:00
ntuser.c [NTUSER] Estabilish power callouts and invoke the cleanup procedure when unloading Win32k 2024-07-13 11:30:19 +02:00
ntuser.h [NTUSER] Remove RETURN() macro (#6194) 2023-12-21 11:10:46 +07:00
object.c [NTUSER] Remove RETURN() macro (#6194) 2023-12-21 11:10:46 +07:00
object.h [WIN32K] ASSERT that all callout references have been cleaned up on thread exit 2024-10-20 09:35:14 +03:00
painting.c [WIN32K/USER] Fix callout object referencing in co_IntUpdateWindows 2024-10-20 09:35:14 +03:00
painting.h [NtGDI] Update Region code 2019-04-17 14:43:24 -05:00
power.c [NTUSER] Stubplement the Win32 power manager 2024-07-13 11:30:19 +02:00
power.h [NTUSER] Stubplement the Win32 power manager 2024-07-13 11:30:19 +02:00
prop.c [NTUSER] Fix stack memory disclosure in NtUserBuildPropList (#3023) 2020-08-08 14:05:22 +09:00
prop.h
scroll.h
scrollbar.c [NTUSER] Use UserHMGetHandle macro (#6244) 2024-01-05 07:16:44 +07:00
scrollex.c [NTUSER] Remove RETURN() macro (#6194) 2023-12-21 11:10:46 +07:00
security.c [WIN32K:NTUSER] Fix an unintialized user's token variable case 2023-06-11 18:14:02 +02:00
security.h [WIN32K:NTUSER] Assign a security descriptor when parsing the desktop object 2022-05-08 20:16:15 +02:00
session.c
shutdown.c [NTUSER] Use UserHMGetHandle macro (#6244) 2024-01-05 07:16:44 +07:00
shutdown.h
simplecall.c [IMM32][NTUSER] Use HandleToUlong, UlongToHandle etc. macros (#7180) 2024-07-29 07:15:44 +09:00
sysparams.c [SETUPLIB][NTUSER] Toggle input language/layout on Alt+Shift / Ctrl+Shift (#5839) 2023-10-31 22:37:49 +09:00
sysparams.h [WIN32K][DESK.CPL]: Add fit and fill background placement options (#28) 2017-10-13 21:44:02 +02:00
tags.h [WIN32SS] Introduce the MDEVOBJ structure 2022-04-15 23:09:16 +02:00
timer.c [NTUSER] IntSetTimer(): Use timer IDs range [256,32767] as on Windows (#7277) 2024-10-22 18:10:34 +03:00
timer.h [REACTOS] Addendum to 5c7ce4475e - Fix MSVC 2015 build 2021-05-12 11:04:29 +02:00
useratom.c
useratom.h
userfuncs.h [BOOTDATA][NTUSER] Add UserIsIMMEnabled and use it (#4882) 2022-11-15 17:10:06 +09:00
usrheap.c [WIN32K] Fix protection of USER heap 2024-09-24 13:32:28 +03:00
usrheap.h [WIN32K:NTUSER] Assert global user lock is held exclusively when using global & desktop heaps 2021-08-03 23:13:19 +02:00
vis.c
vis.h
win32.h [WIN32K] ASSERT that all callout references have been cleaned up on thread exit 2024-10-20 09:35:14 +03:00
win32kdebug.h [WIN32K] Add debug switch for the Win32 power manager 2024-07-13 11:30:07 +02:00
windc.c [NTUSER] Use UserHMGetHandle macro (#6244) 2024-01-05 07:16:44 +07:00
window.c [WIN32K] Use UserRefObjectCo in co_UserFreeWindow 2024-10-20 09:35:14 +03:00
window.h [IMM32][NTUSER] Use HandleToUlong, UlongToHandle etc. macros (#7180) 2024-07-29 07:15:44 +09:00
winpos.c [NTUSER] Address memory leak in co_WinPosSetWindowPos(). (#7284) 2024-08-31 15:07:33 -05:00
winpos.h [NTUSER] Correctly store original unsnap position (#7244) 2024-08-15 12:33:17 +02:00
winsta.c [NTUSER] KLF_UNLOAD flag of NtUserGetKeyboardLayoutList (#4592) 2022-08-03 12:45:10 +09:00
winsta.h [NTUSER] KLF_UNLOAD flag of NtUserGetKeyboardLayoutList (#4592) 2022-08-03 12:45:10 +09:00