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>
This commit is contained in:
parent
2f81e2b326
commit
217f0daadc
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue