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
790d2e8b
Commit
790d2e8b
authored
Nov 01, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: When EnumDisplaySettings() fails unexpectedly, trace how many calls were made.
parent
18a9aba0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sysparams.c
dlls/user32/tests/sysparams.c
+3
-2
No files found.
dlls/user32/tests/sysparams.c
View file @
790d2e8b
...
...
@@ -2865,13 +2865,14 @@ static void test_EnumDisplaySettings(void)
num
=
1
;
while
(
1
)
{
SetLastError
(
0xdeadbeef
);
if
(
!
EnumDisplaySettingsA
(
NULL
,
num
++
,
&
devmode
))
{
if
(
!
EnumDisplaySettingsA
(
NULL
,
num
,
&
devmode
))
{
DWORD
le
=
GetLastError
();
ok
(
le
==
ERROR_NO_MORE_FILES
||
le
==
0xdeadbeef
,
/* XP, 2003 */
"Expected ERROR_NO_MORE_FILES or 0xdeadbeef, got %d
\n
"
,
le
);
"Expected ERROR_NO_MORE_FILES or 0xdeadbeef, got %d
for %d
\n
"
,
le
,
num
);
break
;
}
num
++
;
}
}
...
...
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