ole32: Re-enable the code that unregisters interfaces with the RPC runtime.
This commit is contained in:
parent
29a9abff8a
commit
fff2d8e82b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user