Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9c76ccfd
Commit
9c76ccfd
authored
Feb 13, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Feb 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Use BOOL type where appropriate.
parent
07ac635d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
devinst.c
dlls/setupapi/devinst.c
+1
-1
misc.c
dlls/setupapi/misc.c
+2
-2
parser.c
dlls/setupapi/parser.c
+1
-1
No files found.
dlls/setupapi/devinst.c
View file @
9c76ccfd
...
...
@@ -2887,7 +2887,7 @@ BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO devinfo)
}
}
if
(
ret
==
FALSE
)
if
(
!
ret
)
SetLastError
(
ERROR_INVALID_HANDLE
);
return
ret
;
...
...
dlls/setupapi/misc.c
View file @
9c76ccfd
...
...
@@ -1458,7 +1458,7 @@ static DWORD decompress_file_lz( LPCWSTR source, LPCWSTR target )
struct
callback_context
{
int
has_extracted
;
BOOL
has_extracted
;
LPCWSTR
target
;
};
...
...
@@ -1477,7 +1477,7 @@ static UINT CALLBACK decompress_or_copy_callback( PVOID context, UINT notificati
TRACE
(
"Requesting extraction of cabinet file %s
\n
"
,
wine_dbgstr_w
(
info
->
NameInCabinet
));
strcpyW
(
info
->
FullTargetName
,
context_info
->
target
);
context_info
->
has_extracted
=
1
;
context_info
->
has_extracted
=
TRUE
;
return
FILEOP_DOIT
;
}
default:
return
NO_ERROR
;
...
...
dlls/setupapi/parser.c
View file @
9c76ccfd
...
...
@@ -370,7 +370,7 @@ static unsigned int PARSER_string_substW( const struct inf_file *file, const WCH
{
const
WCHAR
*
start
,
*
subst
,
*
p
;
unsigned
int
len
,
total
=
0
;
int
inside
=
0
;
BOOL
inside
=
FALSE
;
if
(
!
buffer
)
size
=
MAX_STRING_LEN
+
1
;
for
(
p
=
start
=
text
;
*
p
;
p
++
)
...
...
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