rpcrt4: Use RegDeleteTree to properly unregister interfaces.

This commit is contained in:
Alexandre Julliard 2008-11-29 13:02:08 +01:00
parent 77b3864fed
commit ad54700b94
1 changed files with 2 additions and 2 deletions

View File

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