gdi32/tests: Skip some failing tests on NT4.

This commit is contained in:
Paul Vriens 2008-09-10 17:49:52 +02:00 committed by Alexandre Julliard
parent c50d922ef6
commit 84266fc6f6
1 changed files with 9 additions and 0 deletions

View File

@ -130,6 +130,15 @@ static void test_GetICMProfileW( HDC dc )
static void test_SetICMMode( HDC dc )
{
INT ret, knob, save;
BOOL impl;
SetLastError( 0xdeadbeef );
impl = GetICMProfileA( NULL, NULL, NULL );
if ( !impl && ( GetLastError() == ERROR_CALL_NOT_IMPLEMENTED ) )
{
skip( "On NT4 where SetICMMode is not implemented but this is not advertised\n" );
return;
}
SetLastError( 0xdeadbeef );
ret = SetICMMode( NULL, 0 );