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
8c743cb2
Commit
8c743cb2
authored
Oct 16, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool/tests: Fix a failure on NT4 for EnumPrintProcessors.
parent
388aca4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
info.c
dlls/winspool.drv/tests/info.c
+4
-3
No files found.
dlls/winspool.drv/tests/info.c
View file @
8c743cb2
...
...
@@ -1315,9 +1315,10 @@ static void test_EnumPrintProcessors(void)
SetLastError
(
0xdeadbeef
);
pcbNeeded
=
0xdeadbeef
;
res
=
EnumPrintProcessorsA
(
NULL
,
invalid_env
,
1
,
buffer
,
cbBuf
,
&
pcbNeeded
,
&
pcReturned
);
/* NT5: ERROR_INVALID_ENVIRONMENT, 9x: ERROR_INVALID_PARAMETER */
ok
(
!
res
&&
((
GetLastError
()
==
ERROR_INVALID_ENVIRONMENT
)
||
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
)),
/* NT5: ERROR_INVALID_ENVIRONMENT, NT4: res != 0, 9x: ERROR_INVALID_PARAMETER */
ok
(
broken
(
res
)
||
/* NT4 */
(
GetLastError
()
==
ERROR_INVALID_ENVIRONMENT
)
||
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
),
"got %u with %u (expected '0' with ERROR_INVALID_ENVIRONMENT or "
"ERROR_INVALID_PARAMETER)
\n
"
,
res
,
GetLastError
());
...
...
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