user32/tests: Check return code from call to SystemParametersInfo.

This commit is contained in:
Frédéric Delanoy 2013-11-05 22:59:07 +01:00 committed by Alexandre Julliard
parent f249638294
commit 4f6bd4911b
1 changed files with 1 additions and 1 deletions

View File

@ -949,7 +949,7 @@ static void test_SPI_SETSCREENSAVETIMEOUT( void ) /* 14 */
test_reg_key( SPI_SETSCREENSAVETIMEOUT_REGKEY,
SPI_SETSCREENSAVETIMEOUT_VALNAME, buf );
SystemParametersInfoA( SPI_GETSCREENSAVETIMEOUT, 0, &v, 0 );
rc = SystemParametersInfoA( SPI_GETSCREENSAVETIMEOUT, 0, &v, 0 );
ok(rc!=0,"%d: rc=%d err=%d\n",i,rc,GetLastError());
eq( v, vals[i], "SPI_{GET,SET}SCREENSAVETIMEOUT", "%d" );
}