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
da07b0d5
Commit
da07b0d5
authored
Oct 02, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Don't crash on WinMe.
parent
35df8f2d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
query.c
dlls/setupapi/tests/query.c
+4
-3
No files found.
dlls/setupapi/tests/query.c
View file @
da07b0d5
...
@@ -167,14 +167,15 @@ static void test_SetupGetInfInformation(void)
...
@@ -167,14 +167,15 @@ static void test_SetupGetInfInformation(void)
broken
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
)
||
/* win98 */
broken
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
)
||
/* win98 */
broken
(
GetLastError
()
==
ERROR_PATH_NOT_FOUND
)
||
/* NT4 */
broken
(
GetLastError
()
==
ERROR_PATH_NOT_FOUND
)
||
/* NT4 */
broken
(
GetLastError
()
==
ERROR_INVALID_NAME
)
||
/* win2k */
broken
(
GetLastError
()
==
ERROR_INVALID_NAME
)
||
/* win2k */
broken
(
GetLastError
()
==
ERROR_GENERAL_SYNTAX
),
/* another win2k */
broken
(
GetLastError
()
==
ERROR_GENERAL_SYNTAX
),
/* another win2k
/ winMe
*/
"Expected ERROR_INVALID_HANDLE, got %d
\n
"
,
GetLastError
());
"Expected ERROR_INVALID_HANDLE, got %d
\n
"
,
GetLastError
());
ok
(
size
==
0xdeadbeef
,
"Expected size to remain unchanged
\n
"
);
ok
(
size
==
0xdeadbeef
,
"Expected size to remain unchanged
\n
"
);
/* try an invalid inf filename */
/* try an invalid inf filename */
/* do not use NULL as absolute inf filename on win9x (crash) */
/* do not use NULL as absolute inf filename on win9x
/winMe
(crash) */
if
((
GetLastError
()
!=
ERROR_BAD_PATHNAME
)
&&
/* win95 */
if
((
GetLastError
()
!=
ERROR_BAD_PATHNAME
)
&&
/* win95 */
(
GetLastError
()
!=
ERROR_FILE_NOT_FOUND
))
/* win98 */
(
GetLastError
()
!=
ERROR_FILE_NOT_FOUND
)
&&
/* win98 */
(
GetLastError
()
!=
ERROR_GENERAL_SYNTAX
))
/* winMe */
{
{
size
=
0xdeadbeef
;
size
=
0xdeadbeef
;
SetLastError
(
0xbeefcafe
);
SetLastError
(
0xbeefcafe
);
...
...
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