From 1d57f4b47d9c77311b48733c789c5fee9fd7a2a8 Mon Sep 17 00:00:00 2001 From: Stephan BEUZE Date: Wed, 26 Mar 2003 01:23:38 +0000 Subject: [PATCH] Implemented a default behavior for SPI_GETGRADIENTCAPTIONS flag in SystemParametersInfoA. --- windows/sysparams.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/windows/sysparams.c b/windows/sysparams.c index a1f94722006..876ec2dbd06 100644 --- a/windows/sysparams.c +++ b/windows/sysparams.c @@ -1734,7 +1734,12 @@ BOOL WINAPI SystemParametersInfoA( UINT uiAction, UINT uiParam, WINE_SPI_FIXME(SPI_SETCOMBOBOXANIMATION); /* 0x1005 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */ WINE_SPI_FIXME(SPI_GETLISTBOXSMOOTHSCROLLING);/* 0x1006 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */ WINE_SPI_FIXME(SPI_SETLISTBOXSMOOTHSCROLLING);/* 0x1007 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */ - WINE_SPI_FIXME(SPI_GETGRADIENTCAPTIONS); /* 0x1008 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */ + + case SPI_GETGRADIENTCAPTIONS: /* 0x1008 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */ + FIXME("case SPI_GETGRADIENTCAPTIONS always return false\n"); + *(BOOL *)pvParam = FALSE; + break; + WINE_SPI_FIXME(SPI_SETGRADIENTCAPTIONS); /* 0x1009 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */ WINE_SPI_FIXME(SPI_GETKEYBOARDCUES); /* 0x100A _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */ WINE_SPI_FIXME(SPI_SETKEYBOARDCUES); /* 0x100B _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */