This just changes the wallpaper test to be like the other sysparam tests.
+ Changelog
SystemParametersInfo returning a value for Wallpaper does not mean that the registry key exists.
diff -u dlls/user/tests/sysparams.c dlls/user/tests/sysparams.c --- dlls/user/tests/sysparams.c 2003-04-13 11:56:35.000000000 +0100 +++ dlls/user/tests/sysparams.c 2003-07-21 18:06:43.000000000 +0100 @@ -1051,7 +1051,6 @@ return; } ok(rc!=0,"SystemParametersInfoA: rc=%d err=%ld\n",rc,GetLastError()); - test_reg_key(SPI_SETDESKWALLPAPER_REGKEY, SPI_SETDESKWALLPAPER_VALNAME, oldval); strcpy(newval, ""); rc=SystemParametersInfoA(SPI_SETDESKWALLPAPER, 0, newval, SPIF_UPDATEINIFILE | SPIF_SENDCHANGE); @@ -1060,6 +1059,8 @@ rc=SystemParametersInfoA(SPI_SETDESKWALLPAPER, 0, oldval, SPIF_UPDATEINIFILE); ok(rc!=0,"***warning*** failed to restore the original value: rc=%d err=%ld\n",rc,GetLastError()); + + test_reg_key(SPI_SETDESKWALLPAPER_REGKEY, SPI_SETDESKWALLPAPER_VALNAME, oldval); } /*