Commit 8439cc9d authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

kernel32: Use boolean return values in boolean functions.

parent 540d1459
...@@ -3544,7 +3544,7 @@ BOOL WINAPI QueryFullProcessImageNameW(HANDLE hProcess, DWORD dwFlags, LPWSTR lp ...@@ -3544,7 +3544,7 @@ BOOL WINAPI QueryFullProcessImageNameW(HANDLE hProcess, DWORD dwFlags, LPWSTR lp
if (ntlen + 1 > *pdwSize) if (ntlen + 1 > *pdwSize)
{ {
SetLastError(ERROR_INSUFFICIENT_BUFFER); SetLastError(ERROR_INSUFFICIENT_BUFFER);
return 0; return FALSE;
} }
*pdwSize = ntlen; *pdwSize = ntlen;
......
...@@ -572,7 +572,7 @@ LPVOID WINAPI LockResource( HGLOBAL handle ) ...@@ -572,7 +572,7 @@ LPVOID WINAPI LockResource( HGLOBAL handle )
*/ */
BOOL WINAPI FreeResource( HGLOBAL handle ) BOOL WINAPI FreeResource( HGLOBAL handle )
{ {
return 0; return 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