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

View File

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