Check for availability of SPI_GETICONTITLEWRAP.

This commit is contained in:
Paul Vriens 2005-01-27 11:11:10 +00:00 committed by Alexandre Julliard
parent e4e5566edb
commit 0cdfbd7669
1 changed files with 6 additions and 0 deletions

View File

@ -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<sizeof(vals)/sizeof(*vals);i++)