advapi32: Use boolean return values in boolean functions.

This commit is contained in:
André Hentschel 2014-01-29 22:25:44 +01:00 committed by Alexandre Julliard
parent 810fbdd222
commit 929d9fb9f7
3 changed files with 4 additions and 4 deletions

View File

@ -136,7 +136,7 @@ BOOL WINAPI GetCurrentHwProfileA(LPHW_PROFILE_INFOA pInfo)
pInfo->dwDockInfo = DOCKINFO_DOCKED;
strcpy(pInfo->szHwProfileGuid,"{12340001-1234-1234-1234-123456789012}");
strcpy(pInfo->szHwProfileName,"Wine Profile");
return 1;
return TRUE;
}
/******************************************************************************

View File

@ -2399,7 +2399,7 @@ BOOL WINAPI
NotifyBootConfigStatus( BOOL x1 )
{
FIXME("(0x%08d):stub\n",x1);
return 1;
return TRUE;
}
/******************************************************************************

View File

@ -1858,7 +1858,7 @@ BOOL WINAPI GetServiceKeyNameW( SC_HANDLE hSCManager, LPCWSTR lpDisplayName,
if (!hSCManager)
{
SetLastError( ERROR_INVALID_HANDLE );
return 0;
return FALSE;
}
/* provide a buffer if the caller didn't */
@ -1982,7 +1982,7 @@ BOOL WINAPI GetServiceDisplayNameW( SC_HANDLE hSCManager, LPCWSTR lpServiceName,
if (!hSCManager)
{
SetLastError( ERROR_INVALID_HANDLE );
return 0;
return FALSE;
}
/* provide a buffer if the caller didn't */