Commit d6afd45e authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

qcap: Use HRESULT correctly.

parent b1c36e75
......@@ -185,7 +185,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
{
TRACE("\n");
if (STRMBASE_DllCanUnloadNow() && objects_ref == 0)
if (STRMBASE_DllCanUnloadNow() == S_OK && objects_ref == 0)
return S_OK;
return S_FALSE;
}
......
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