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
b1b4063c
Commit
b1b4063c
authored
May 26, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
May 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Fix a test on NT4.
parent
ee975a56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
devinst.c
dlls/setupapi/tests/devinst.c
+3
-2
No files found.
dlls/setupapi/tests/devinst.c
View file @
b1b4063c
...
...
@@ -760,8 +760,9 @@ static void testDevRegKey(void)
ok
(
ret
,
"SetupDiCreateDeviceInfoA failed: %08x
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
key
=
pSetupDiOpenDevRegKey
(
NULL
,
NULL
,
0
,
0
,
0
,
0
);
ok
(
key
==
INVALID_HANDLE_VALUE
&&
GetLastError
()
==
ERROR_INVALID_HANDLE
,
ok
(
!
key
||
key
==
INVALID_HANDLE_VALUE
,
"Expected INVALID_HANDLE_VALUE or a NULL key (NT4)
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
,
"Expected ERROR_INVALID_HANDLE, got %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
key
=
pSetupDiOpenDevRegKey
(
set
,
NULL
,
0
,
0
,
0
,
0
);
...
...
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