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
b0290ec3
Commit
b0290ec3
authored
Aug 25, 2016
by
Keno Fischer
Committed by
Alexandre Julliard
Aug 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Improve tests for pUnregisterWait(0).
Signed-off-by:
Keno Fischer
<
keno@juliacomputing.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4cf2ad98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
thread.c
dlls/kernel32/tests/thread.c
+5
-3
No files found.
dlls/kernel32/tests/thread.c
View file @
b0290ec3
...
...
@@ -1246,9 +1246,11 @@ static void test_RegisterWaitForSingleObject(void)
ret
=
pUnregisterWait
(
wait_handle
);
ok
(
ret
,
"UnregisterWait failed with error %d
\n
"
,
GetLastError
());
ret
=
pUnregisterWait
(
0
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_INVALID_HANDLE
,
"UnregisterWait failed with unexpected error %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
ret
=
pUnregisterWait
(
NULL
);
ok
(
!
ret
,
"Expected UnregisterWait to fail"
);
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
,
"Expected ERROR_INVALID_HANDLE, got %d
\n
"
,
GetLastError
());
}
static
DWORD
LS_main
;
...
...
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