Commit 6fed1e37 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Update the registry keys of SPI_ICONHORIZONTALSPACING,

SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP. The SPI_SETBORDER test leaves an incorect border setting and is just too erratic: comment it out for now. Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and SPI_SETWORKAREA to not cause the icons to be reorganized. Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior differs accross Windows platforms. On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767. The registry keys and values stored in them for SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the Windows platform: ignore them. No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it. The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says so!) and varies accross Windows platforms. Ignore it. Always check the SystemParametersInfoA return code as it fails in very strange ways on some platforms. Skip unsupported settings. Skip Unicode tests on platforms that don't support it.
parent 37d9b486
......@@ -78,7 +78,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(system);
#define SPI_SETBORDER_VALNAME "BorderWidth"
#define SPI_SETKEYBOARDSPEED_REGKEY "Control Panel\\Keyboard"
#define SPI_SETKEYBOARDSPEED_VALNAME "KeyboardSpeed"
#define SPI_ICONHORIZONTALSPACING_REGKEY "Control Panel\\Desktop"
#define SPI_ICONHORIZONTALSPACING_REGKEY "Control Panel\\Desktop\\WindowMetrics"
#define SPI_ICONHORIZONTALSPACING_VALNAME "IconSpacing"
#define SPI_SETSCREENSAVETIMEOUT_REGKEY "Control Panel\\Desktop"
#define SPI_SETSCREENSAVETIMEOUT_VALNAME "ScreenSaveTimeOut"
......@@ -88,9 +88,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(system);
#define SPI_SETGRIDGRANULARITY_VALNAME "GridGranularity"
#define SPI_SETKEYBOARDDELAY_REGKEY "Control Panel\\Keyboard"
#define SPI_SETKEYBOARDDELAY_VALNAME "KeyboardDelay"
#define SPI_ICONVERTICALSPACING_REGKEY "Control Panel\\Desktop"
#define SPI_ICONVERTICALSPACING_REGKEY "Control Panel\\Desktop\\WindowMetrics"
#define SPI_ICONVERTICALSPACING_VALNAME "IconVerticalSpacing"
#define SPI_SETICONTITLEWRAP_REGKEY "Control Panel\\Desktop"
#define SPI_SETICONTITLEWRAP_REGKEY "Control Panel\\Desktop\\WindowMetrics"
#define SPI_SETICONTITLEWRAP_VALNAME "IconTitleWrap"
#define SPI_SETMENUDROPALIGNMENT_REGKEY "Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows"
#define SPI_SETMENUDROPALIGNMENT_VALNAME "MenuDropAlignment"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment