Commit 90d3163a authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

rpcrt4: Fix NdrDllCanUnloadNow.

parent c037b333
...@@ -207,7 +207,7 @@ HRESULT WINAPI NdrDllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv, ...@@ -207,7 +207,7 @@ HRESULT WINAPI NdrDllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv,
*/ */
HRESULT WINAPI NdrDllCanUnloadNow(CStdPSFactoryBuffer *pPSFactoryBuffer) HRESULT WINAPI NdrDllCanUnloadNow(CStdPSFactoryBuffer *pPSFactoryBuffer)
{ {
return !(pPSFactoryBuffer->RefCount); return pPSFactoryBuffer->RefCount != 0 ? S_FALSE : 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