kernel32: Use boolean return values in boolean functions.

This commit is contained in:
André Hentschel 2014-01-28 00:07:17 +01:00 committed by Alexandre Julliard
parent 540d1459f9
commit 8439cc9da4
2 changed files with 2 additions and 2 deletions

View File

@ -3544,7 +3544,7 @@ BOOL WINAPI QueryFullProcessImageNameW(HANDLE hProcess, DWORD dwFlags, LPWSTR lp
if (ntlen + 1 > *pdwSize)
{
SetLastError(ERROR_INSUFFICIENT_BUFFER);
return 0;
return FALSE;
}
*pdwSize = ntlen;

View File

@ -572,7 +572,7 @@ LPVOID WINAPI LockResource( HGLOBAL handle )
*/
BOOL WINAPI FreeResource( HGLOBAL handle )
{
return 0;
return FALSE;
}