From 4e49d7ba42caa5d3514cfe5942b54ac80a51fa1a Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Thu, 28 Jun 2018 12:03:48 +0200 Subject: [PATCH] msdmo: DMORegister() returns E_FAIL if unable to access the registry. Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- dlls/msdmo/dmoreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msdmo/dmoreg.c b/dlls/msdmo/dmoreg.c index 2161d40af69..e4766d76b5d 100644 --- a/dlls/msdmo/dmoreg.c +++ b/dlls/msdmo/dmoreg.c @@ -208,7 +208,7 @@ HRESULT WINAPI DMORegister( ret = RegCreateKeyExW(HKEY_CLASSES_ROOT, szDMORootKey, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hrkey, NULL); if (ret) - return HRESULT_FROM_WIN32(ret); + return E_FAIL; /* Create clsidDMO key under MediaObjects */ ret = RegCreateKeyExW(hrkey, GUIDToString(szguid, clsidDMO), 0, NULL,