msdmo: Fix DMOUnregister() when running on clean wineprefix.

This commit is contained in:
Nikolay Sivov 2014-12-31 11:48:00 +03:00 committed by Alexandre Julliard
parent d654ff6dfc
commit 89837cb04e
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ HRESULT WINAPI DMOUnregister(REFCLSID dmo, REFGUID category)
ret = RegOpenKeyExW(HKEY_CLASSES_ROOT, szDMORootKey, 0, KEY_WRITE, &rootkey);
if (ret)
return HRESULT_FROM_WIN32(ret);
return S_FALSE;
GUIDToString(dmoW, dmo);
RegDeleteKeyW(rootkey, dmoW);