kernel32: Use boolean return values in boolean functions.
This commit is contained in:
parent
540d1459f9
commit
8439cc9da4
|
@ -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;
|
||||
|
||||
|
|
|
@ -572,7 +572,7 @@ LPVOID WINAPI LockResource( HGLOBAL handle )
|
|||
*/
|
||||
BOOL WINAPI FreeResource( HGLOBAL handle )
|
||||
{
|
||||
return 0;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue