advapi32: Use boolean return values in boolean functions.
This commit is contained in:
parent
810fbdd222
commit
929d9fb9f7
|
@ -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;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
|
|
@ -2399,7 +2399,7 @@ BOOL WINAPI
|
|||
NotifyBootConfigStatus( BOOL x1 )
|
||||
{
|
||||
FIXME("(0x%08d):stub\n",x1);
|
||||
return 1;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue