Commit ad54700b authored by Alexandre Julliard's avatar Alexandre Julliard

rpcrt4: Use RegDeleteTree to properly unregister interfaces.

parent 77b3864f
......@@ -298,7 +298,7 @@ HRESULT WINAPI NdrDllUnregisterProxy(HMODULE hDll,
strcpyW( keyname, interfaceW );
format_clsid( keyname + strlenW(keyname), proxy->header.piid );
RegDeleteKeyW(HKEY_CLASSES_ROOT, keyname);
RegDeleteTreeW(HKEY_CLASSES_ROOT, keyname);
}
pProxyFileList++;
}
......@@ -306,7 +306,7 @@ HRESULT WINAPI NdrDllUnregisterProxy(HMODULE hDll,
/* unregister clsid */
strcpyW( keyname, clsidW );
format_clsid( keyname + strlenW(keyname), pclsid );
RegDeleteKeyW(HKEY_CLASSES_ROOT, keyname);
RegDeleteTreeW(HKEY_CLASSES_ROOT, keyname);
return S_OK;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment