reactos/win32ss/user/winsrv/consrv
Oleg Dubinskiy 1a1025011f
[REACTOS] Fix LoadCursorW() incorrect usage cases (#7053)
Fix wrong MAKEINTRESOURCEW() macro usage cases in LoadCursorW() system-wide.
MSDN documentation for this function states we need to use MAKEINTRESOURCEW() macro only for internal application-defined cursors (loaded from the app instance specified by hInstance parameter), but not for system-defined cursors (those begin with IDC_* prefix), in case when hInstance is NULL.
So get rid from MAKEINTRESOURCEW() macro usage for all cases when hInstance parameter is NULL. And on the contrary, when hInstance is valid and points to the application instance, then use it for the resource identifier.
2024-07-01 18:05:46 +02:00
..
condrv
frontends [REACTOS] Fix LoadCursorW() incorrect usage cases (#7053) 2024-07-01 18:05:46 +02:00
include
lang [TRANSLATION] Improve Italian (it-IT) translation (#6820) 2024-06-10 13:45:00 +03:00
alias.c
alias.h
api.h
coninput.c [KERNEL32][PSDK][NTVDM][CONSRV] Use now-documented ReadConsoleInputEx() flag names. 2024-03-06 12:28:27 +01:00
coninput.h
conoutput.c
conoutput.h
console.c [CONSRV] Only call CoUninitialize if initialized (#5582) 2023-08-18 19:06:20 +02:00
console.h
consrv.h
consrv.rc
frontendctl.c
handle.c
handle.h
heap.h
history.c
history.h
init.c
lineinput.c
lineinput.h
popup.c
popup.h
procinit.h
resource.h
settings.c
shutdown.c [WINSRV] Use ARRAYSIZE() instead of hardcoding buffer size in GetProcessImageFileNameW call 2024-02-22 22:41:05 +01:00
subsysreg.c