Commit d2900d42 authored by Reece H. Dunn's avatar Reece H. Dunn Committed by Alexandre Julliard

user32: Make the class tests pass on Vista.

parent ad89ff0a
......@@ -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 */
......
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