Sweden-Number/dlls/user32
Zhiyi Zhang a1dda8c376 win32u: Return -1 for NUMCOLORS with 8-bit display DCs.
According to tests, GetDeviceCaps(NUMCOLORS) returns -1 for display DCs when the current display
mode is 8-bit on newer versions of Windows, which makes sense because lower bit depth display modes
are actually emulated with 32-bit modes.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52679
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:44:58 +02:00
..
resources
tests win32u: Return -1 for NUMCOLORS with 8-bit display DCs. 2022-04-21 14:44:58 +02:00
Makefile.in win32u: Move __wine_set_user_driver implementation from user32. 2022-04-07 22:44:39 +02:00
button.c
caret.c win32u: Remove the "proc" parameter to NtUserSetSystemTimer(). 2022-04-21 14:41:22 +02:00
class.c win32u: Introduce inline helpers for NtUserCallHwndParam calls. 2022-04-13 18:13:28 +02:00
clipboard.c win32u: Move __wine_set_user_driver implementation from user32. 2022-04-07 22:44:39 +02:00
combo.c
controls.h win32u: Move NtUserSetMenu implemenetation from user32. 2022-04-20 17:31:08 +02:00
cursoricon.c win32u: Introduce inline helpers for NtUserCallOneParam calls. 2022-04-13 18:13:06 +02:00
dde_client.c
dde_misc.c
dde_private.h
dde_server.c
defdlg.c
defwnd.c win32u: Use more consistent NtUserMessageCall constant names. 2022-04-08 18:23:56 +02:00
desktop.c
dialog.c
edit.c win32u: Move NtUserEnableMenuItem implementation from user32. 2022-04-15 20:54:49 +02:00
exticon.c
focus.c win32u: Introduce inline helpers for NtUserCallHwndParam calls. 2022-04-13 18:13:28 +02:00
hook.c win32u: Introduce inline helpers for NtUserCallTwoParam calls. 2022-04-13 18:13:18 +02:00
icontitle.c
input.c win32u: Remove the "proc" parameter to NtUserSetSystemTimer(). 2022-04-21 14:41:22 +02:00
listbox.c win32u: Remove the "proc" parameter to NtUserSetSystemTimer(). 2022-04-21 14:41:22 +02:00
lstr.c
mdi.c win32u: Move NtUserSetMenu implemenetation from user32. 2022-04-20 17:31:08 +02:00
menu.c win32u: Move GetMenuInfo implementation from user32. 2022-04-20 17:31:15 +02:00
message.c user32: Do not call the lparam for WM_SYSTIMER messages. 2022-04-21 14:41:48 +02:00
misc.c
msgbox.c
nonclient.c win32u: Move more WM_SYSCOMMAND handling from user32. 2022-04-15 20:55:03 +02:00
painting.c win32u: Move NtUserExcludeUpdateRgn implementation from user32. 2022-04-14 17:53:34 +02:00
property.c
rawinput.c
resource.c
resources.h
scroll.c win32u: Remove the "proc" parameter to NtUserSetSystemTimer(). 2022-04-21 14:41:22 +02:00
static.c user32: Use SWP_NOACTIVATE flag when resizing etched static control. 2022-04-13 11:00:07 +02:00
sysparams.c win32u: Introduce inline helpers for NtUserCallHwndParam calls. 2022-04-13 18:13:28 +02:00
text.c
uitools.c
user32.rc
user32.spec win32u: Remove the "proc" parameter to NtUserSetSystemTimer(). 2022-04-21 14:41:22 +02:00
user_main.c user32: Update mouse tracking information based on the timer ID in DispatchMessage(). 2022-04-21 14:41:08 +02:00
user_private.h user32: Update mouse tracking information based on the timer ID in DispatchMessage(). 2022-04-21 14:41:08 +02:00
win.c win32u: Move NtUserFindWindowEx implementation from user32. 2022-04-19 17:37:00 +02:00
win.h win32u: Introduce inline helpers for NtUserCallHwndParam calls. 2022-04-13 18:13:28 +02:00
winhelp.c
winpos.c win32u: Move NtUserClientToScreen implementation from user32. 2022-04-14 17:53:34 +02:00
winproc.c user32: Pass a valid length to RtlUnicodeToMultiByteN/RtlMultiByteToUnicodeN. 2022-04-14 09:44:41 +02:00
winstation.c
wsprintf.c