user32: Make the class tests pass on Vista.

This commit is contained in:
Reece H. Dunn 2008-01-23 23:46:58 +00:00 committed by Alexandre Julliard
parent ad89ff0abf
commit d2900d42dd
1 changed files with 2 additions and 1 deletions

View File

@ -555,7 +555,8 @@ static void test_instances(void)
ok( GetLastError() == ERROR_CLASS_DOES_NOT_EXIST, "Wrong error code %d\n", GetLastError() );
ok( !GetClassInfo( 0, "BUTTON", &wc ), "Button still exists\n" );
ok( GetLastError() == ERROR_CLASS_DOES_NOT_EXIST ||
GetLastError() == ERROR_INVALID_PARAMETER /* W2K3 */,
GetLastError() == ERROR_INVALID_PARAMETER || /* W2K3 */
GetLastError() == ERROR_SUCCESS /* Vista */,
"Wrong error code %d\n", GetLastError() );
/* we can change the instance of a system class */