mscms/tests: Don't crash on Vista.

This commit is contained in:
Paul Vriens 2007-06-22 16:40:30 +02:00 committed by Alexandre Julliard
parent 2f4b9e42bc
commit 688623d3cb
1 changed files with 5 additions and 2 deletions

View File

@ -394,8 +394,11 @@ static void test_GetColorProfileHeader(void)
ret = pGetColorProfileHeader( NULL, &header );
ok( !ret, "GetColorProfileHeader() succeeded (%d)\n", GetLastError() );
ret = pGetColorProfileHeader( handle, NULL );
ok( !ret, "GetColorProfileHeader() succeeded (%d)\n", GetLastError() );
if (0) /* Crashes on Vista */
{
ret = pGetColorProfileHeader( handle, NULL );
ok( !ret, "GetColorProfileHeader() succeeded (%d)\n", GetLastError() );
}
/* Functional checks */