ole32: Re-enable the code that unregisters interfaces with the RPC runtime.

This commit is contained in:
Rob Shearman 2006-11-13 11:55:56 +00:00 committed by Alexandre Julliard
parent 29a9abff8a
commit fff2d8e82b
1 changed files with 1 additions and 4 deletions

View File

@ -669,12 +669,9 @@ void RPC_UnregisterInterface(REFIID riid)
{
if (!--rif->refs)
{
#if 0 /* this is a stub in builtin and spams the console with FIXME's */
IID iid = *riid; /* RpcServerUnregisterIf doesn't take const IID */
RpcServerUnregisterIf((RPC_IF_HANDLE)&rif->If, &iid, 0);
RpcServerUnregisterIf((RPC_IF_HANDLE)&rif->If, NULL, TRUE);
list_remove(&rif->entry);
HeapFree(GetProcessHeap(), 0, rif);
#endif
}
break;
}