Reece H. Dunn : user32: Make the class tests pass on Vista.
Alexandre Julliard
julliard at winehq.org
Fri Jan 25 07:06:05 CST 2008
Module: wine
Branch: master
Commit: d2900d42dd02e8bbfbb4e026c27d1f5c2e275768
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2900d42dd02e8bbfbb4e026c27d1f5c2e275768
Author: Reece H. Dunn <msclrhd at gmail.com>
Date: Wed Jan 23 23:46:58 2008 +0000
user32: Make the class tests pass on Vista.
---
dlls/user32/tests/class.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/class.c b/dlls/user32/tests/class.c
index 577a7b8..aa2c60a 100644
--- a/dlls/user32/tests/class.c
+++ b/dlls/user32/tests/class.c
@@ -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 */
More information about the wine-cvs
mailing list