user32/tests: Test return value of EnumDesktopsA (PVS-Studio)
André Hentschel
nerv at dawncrow.de
Thu Mar 19 16:11:48 CDT 2015
---
dlls/user32/tests/winstation.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/user32/tests/winstation.c b/dlls/user32/tests/winstation.c
index c09ebb1..aaf8c0e 100644
--- a/dlls/user32/tests/winstation.c
+++ b/dlls/user32/tests/winstation.c
@@ -685,6 +685,7 @@ static void test_inputdesktop2(void)
ok(hdesk != NULL, "GetThreadDesktop failed!\n");
ok(hdesk == thread_desk, "thread desktop should not change after winstation changed!\n");
ret = EnumDesktopsA(GetProcessWindowStation(), desktop_callbackA, 0);
+ ok(!ret, "EnumDesktopsA failed!\n");
new_desk = CreateDesktopA("desk_test", NULL, NULL, 0, DESKTOP_ALL_ACCESS, NULL);
ok(new_desk != NULL, "CreateDesktop failed!\n");
--
1.9.1
More information about the wine-patches
mailing list