Zebediah Figura : devenum/tests: DMORegister() returns E_FAIL if unable to access the registry.

Alexandre Julliard julliard at winehq.org
Thu Jun 28 15:55:10 CDT 2018


Module: wine
Branch: master
Commit: 217f0daadc0cbd719cc0a7429e49d3235148ddd0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=217f0daadc0cbd719cc0a7429e49d3235148ddd0

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Thu Jun 28 12:03:47 2018 +0200

devenum/tests: DMORegister() returns E_FAIL if unable to access the registry.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/devenum/tests/devenum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/devenum/tests/devenum.c b/dlls/devenum/tests/devenum.c
index 6d4ce2d..bc3d105 100644
--- a/dlls/devenum/tests/devenum.c
+++ b/dlls/devenum/tests/devenum.c
@@ -521,7 +521,7 @@ static void test_dmo(void)
     ok(hr == E_ACCESSDENIED, "Write failed: %#x\n", hr);
 
     hr = DMORegister(name, &CLSID_TestFilter, &CLSID_AudioRendererCategory, 0, 0, NULL, 0, NULL);
-    if (hr != E_ACCESSDENIED)
+    if (hr != E_FAIL)
     {
         ok(hr == S_OK, "got %#x\n", hr);
 




More information about the wine-cvs mailing list