quartz/tests: Make tests run on everything lower then Vista.
authorPaul Vriens <paul.vriens.wine@gmail.com>
Wed, 2 Jul 2008 11:59:22 +0000 (13:59 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 3 Jul 2008 09:50:51 +0000 (11:50 +0200)
dlls/quartz/tests/filtermapper.c

index e09497b..fb77eb8 100644 (file)
@@ -271,8 +271,8 @@ static void test_legacy_filter_registration(void)
     lRet = StringFromGUID2(&clsidFilter, wszRegKey, MAX_PATH);
     ok(lRet > 0, "StringFromGUID2 failed\n");
 
-    lRet = RegDeleteTreeW(hKey, wszRegKey);
-    ok(lRet == ERROR_SUCCESS, "RegDeleteTreeW failed with %x\n", HRESULT_FROM_WIN32(lRet));
+    lRet = RegDeleteKeyW(hKey, wszRegKey);
+    ok(lRet == ERROR_SUCCESS, "RegDeleteKeyW failed with %x\n", HRESULT_FROM_WIN32(lRet));
 
     if (hKey) RegCloseKey(hKey);
     hKey = NULL;