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

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Zebediah Figura 2018-06-28 12:03:47 +02:00 committed by Alexandre Julliard
parent 2f81e2b326
commit 217f0daadc
1 changed files with 1 additions and 1 deletions

View File

@ -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);