From 0cdfbd76692edf516cfdc7043f84cbf605c9a27d Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Thu, 27 Jan 2005 11:11:10 +0000 Subject: [PATCH] Check for availability of SPI_GETICONTITLEWRAP. --- dlls/user/tests/sysparams.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/user/tests/sysparams.c b/dlls/user/tests/sysparams.c index 49ab8184a9a..ca76bbe35f5 100644 --- a/dlls/user/tests/sysparams.c +++ b/dlls/user/tests/sysparams.c @@ -692,6 +692,12 @@ static void test_SPI_SETICONTITLEWRAP( void ) /* 26 */ trace("testing SPI_{GET,SET}ICONTITLEWRAP\n"); rc=SystemParametersInfoA( SPI_GETICONTITLEWRAP, 0, &old_b, 0 ); + if (rc==0 && (GetLastError()==0 || GetLastError()==ERROR_CALL_NOT_IMPLEMENTED)) + { + /* SPI_{GET,SET}ICONTITLEWRAP is not implemented on a standard Win98 SE */ + trace("SPI_{GET,SET}ICONTITLEWRAP not supported on this platform\n"); + return; + } ok(rc!=0,"SystemParametersInfoA: rc=%d err=%ld\n",rc,GetLastError()); for (i=0;i