qcap: Use HRESULT correctly.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b1c36e7583
commit
d6afd45e71
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue