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
5db7d595
Commit
5db7d595
authored
Sep 29, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Use a real console handle in the VerifyConsoleIoHandle test.
parent
6457d14b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
console.c
dlls/kernel32/tests/console.c
+2
-4
No files found.
dlls/kernel32/tests/console.c
View file @
5db7d595
...
...
@@ -1085,11 +1085,10 @@ static void test_OpenConsoleW(void)
CloseHandle
(
ret
);
}
static
void
test_VerifyConsoleIoHandle
(
void
)
static
void
test_VerifyConsoleIoHandle
(
HANDLE
handle
)
{
BOOL
ret
;
DWORD
error
;
HANDLE
handle
;
if
(
!
pVerifyConsoleIoHandle
)
{
...
...
@@ -1125,7 +1124,6 @@ static void test_VerifyConsoleIoHandle(void)
ok
(
!
ret
,
"expected VerifyConsoleIoHandle to fail
\n
"
);
ok
(
error
==
0xdeadbeef
,
"wrong GetLastError() %d
\n
"
,
error
);
handle
=
GetStdHandle
(
STD_INPUT_HANDLE
);
/* valid handle */
SetLastError
(
0xdeadbeef
);
ret
=
pVerifyConsoleIoHandle
(
handle
);
...
...
@@ -1221,6 +1219,6 @@ START_TEST(console)
test_GetConsoleProcessList
();
test_OpenConsoleW
();
test_VerifyConsoleIoHandle
();
test_VerifyConsoleIoHandle
(
hConOut
);
test_GetSetStdHandle
();
}
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