[WINESYNC] setupapi: Use BOOL type where appropriate.

wine commit id 9c76ccfda124ca471b3de4d8a04aed1e15a6b9f2 by Frédéric Delanoy <frederic.delanoy@gmail.com>
This commit is contained in:
winesync 2024-01-05 16:47:03 +01:00 committed by Hermès Bélusca-Maïto
parent d671a6c70e
commit ca81cc071b
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 2 additions and 2 deletions

View file

@ -2926,7 +2926,7 @@ BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO devinfo)
}
}
if (ret == FALSE)
if (!ret)
SetLastError(ERROR_INVALID_HANDLE);
return ret;

View file

@ -5,4 +5,4 @@ files:
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
tags:
wine: bdadd760a3b0685d828a3cfa09ed8a82df72e48c
wine: 9c76ccfda124ca471b3de4d8a04aed1e15a6b9f2