Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
929d9fb9
Commit
929d9fb9
authored
Jan 29, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Feb 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Use boolean return values in boolean functions.
parent
810fbdd2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
advapi.c
dlls/advapi32/advapi.c
+1
-1
security.c
dlls/advapi32/security.c
+1
-1
service.c
dlls/advapi32/service.c
+2
-2
No files found.
dlls/advapi32/advapi.c
View file @
929d9fb9
...
...
@@ -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
;
}
/******************************************************************************
...
...
dlls/advapi32/security.c
View file @
929d9fb9
...
...
@@ -2399,7 +2399,7 @@ BOOL WINAPI
NotifyBootConfigStatus
(
BOOL
x1
)
{
FIXME
(
"(0x%08d):stub
\n
"
,
x1
);
return
1
;
return
TRUE
;
}
/******************************************************************************
...
...
dlls/advapi32/service.c
View file @
929d9fb9
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment