Commit 0cdfbd76 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

Check for availability of SPI_GETICONTITLEWRAP.

parent e4e5566e
......@@ -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++)
......
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