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
259d6b50
Commit
259d6b50
authored
Aug 05, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Write-strings warnings fix.
parent
8e2d28dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
devinst.c
dlls/setupapi/tests/devinst.c
+2
-1
query.c
dlls/setupapi/tests/query.c
+1
-1
No files found.
dlls/setupapi/tests/devinst.c
View file @
259d6b50
...
...
@@ -36,11 +36,12 @@ static void test_SetupDiCreateDeviceInfoListEx(void)
HDEVINFO
devlist
;
BOOL
ret
;
DWORD
error
;
static
CHAR
notnull
[]
=
"NotNull"
;
static
const
WCHAR
machine
[]
=
{
'd'
,
'u'
,
'm'
,
'm'
,
'y'
,
0
};
SetLastError
(
0xdeadbeef
);
/* create empty DeviceInfoList, but set Reserved to a value, which is not NULL */
devlist
=
SetupDiCreateDeviceInfoListExW
(
NULL
,
NULL
,
NULL
,
"NotNull"
);
devlist
=
SetupDiCreateDeviceInfoListExW
(
NULL
,
NULL
,
NULL
,
notnull
);
error
=
GetLastError
();
ok
(
devlist
==
INVALID_HANDLE_VALUE
,
"SetupDiCreateDeviceInfoListExW failed : %p %ld (expected %p)
\n
"
,
devlist
,
error
,
INVALID_HANDLE_VALUE
);
...
...
dlls/setupapi/tests/query.c
View file @
259d6b50
...
...
@@ -107,7 +107,7 @@ static BOOL check_info_filename(PSP_INF_INFORMATION info, LPSTR test)
return
ret
;
}
static
PSP_INF_INFORMATION
alloc_inf_info
(
LPSTR
filename
,
DWORD
search
,
PDWORD
size
)
static
PSP_INF_INFORMATION
alloc_inf_info
(
LP
C
STR
filename
,
DWORD
search
,
PDWORD
size
)
{
PSP_INF_INFORMATION
info
;
BOOL
ret
;
...
...
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