Austin English : setupapi/tests: Remove win9x hacks.

Alexandre Julliard julliard at winehq.org
Tue Mar 1 11:07:15 CST 2011


Module: wine
Branch: master
Commit: 270298191ddda6dafa8d2a76c77e5345d895c8d4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=270298191ddda6dafa8d2a76c77e5345d895c8d4

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Feb 28 13:06:23 2011 -0800

setupapi/tests: Remove win9x hacks.

---

 dlls/setupapi/tests/devinst.c |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c
index f1d3965..1905406 100644
--- a/dlls/setupapi/tests/devinst.c
+++ b/dlls/setupapi/tests/devinst.c
@@ -1530,21 +1530,7 @@ static void testSetupDiGetINFClassA(void)
 
 START_TEST(devinst)
 {
-    HDEVINFO set;
-
-     init_function_pointers();
-
-    /* Win9x/WinMe does things totally different so we skip all the tests
-     *
-     * We don't want to exclude NT4 so hence this check.
-     */
-    SetLastError(0xdeadbeef);
-    set = pSetupDiGetClassDevsW(NULL, NULL, 0, 0);
-    if (set == INVALID_HANDLE_VALUE && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
-    {
-        win_skip("Win9x/WinMe has totally different behavior\n");
-        return;
-    }
+    init_function_pointers();
 
     if (pIsWow64Process)
         pIsWow64Process(GetCurrentProcess(), &is_wow64);




More information about the wine-cvs mailing list