reactos/win32ss/user/ntuser
Timo Kreuzer b385fc5985 [NTUSER] Fix a 64 bit bug in timer code
The return value of RtlFindClearBitsAndSet is an ULONG, assigning it to an ULONG_PTR will not sign extend it. The error value will stay 0xFFFFFFFF. Comparing it to (UINT_PTR)-1 will sign extend and thus compare it to 0xFFFFFFFFFFFFFFFF on x64.
Also use NUM_WINDOW_LESS_TIMERS to initialize the bitmap, rather than the calculated size. This does not make a difference with the current value (32768), but if it was not the case, the bitmap would be larger than this, resulting in invalid bitmap indices being returned, which would cause bugs later on. Finally remove an ASSERT that can be triggered by tests.
2024-09-08 01:52:50 +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 [NTUSER] Check class name existence on IntGetAtomFromStringOrAtom (#6184) 2024-01-10 08:01:37 +09: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 [NTUSER] Increase desktop heap size 2024-09-07 18:47:49 +03:00
desktop.h [WIN32K:NTUSER] Implement security infrastructure for NTUSER component 2022-05-06 10:09:48 +02:00
display.c [WIN32SS:USER] Do not write error message at end of enumeration in UserEnumDisplayDevices() 2022-06-08 07:58:12 +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
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 [NTUSER] Estabilish power callouts and invoke the cleanup procedure when unloading Win32k 2024-07-13 11:30:19 +02: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 [NTUSER] Optimize BroadcastSystemMessage a bit. Follow-up of #6884 (#7215) 2024-09-01 13:24:22 -05: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 [WIN32K] Fix alignment checks in NtUserSetInformationThread 2023-11-10 19:42:13 +02: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 [NTUSER] Do assignment lock pti->spDefaultImc (#4456) 2022-04-18 08:23:18 +09:00
painting.c [GDI32][NTUSER] Demote noisy debug prints 2024-08-30 16:06:41 +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
tags.h [WIN32SS] Introduce the MDEVOBJ structure 2022-04-15 23:09:16 +02:00
timer.c [NTUSER] Fix a 64 bit bug in timer code 2024-09-08 01:52:50 +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:NTUSER] In debug builds, enable free & tail checking when creating heaps 2021-08-03 23:13:19 +02: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 [NTGDI][NTUSER][INCLUDE] Add 'See also:' comments for structures (#4872) 2022-11-12 20:27:50 +09: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 [IMM32][NTUSER] Use HandleToUlong, UlongToHandle etc. macros (#7180) 2024-07-29 07:15:44 +09: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