qcap: Use HRESULT correctly.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Andrew Eikum 2016-09-01 15:11:31 -05:00 committed by Alexandre Julliard
parent b1c36e7583
commit d6afd45e71
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}