Commit 929d9fb9 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

advapi32: Use boolean return values in boolean functions.

parent 810fbdd2
......@@ -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 */
......
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