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
71f81bf1
Commit
71f81bf1
authored
Jan 24, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Jan 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Win9x returns a different last error.
parent
e84daed4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
thread.c
dlls/kernel32/tests/thread.c
+8
-4
No files found.
dlls/kernel32/tests/thread.c
View file @
71f81bf1
...
...
@@ -601,8 +601,10 @@ static VOID test_thread_priority(void)
rc
=
SetThreadPriority
(
curthread
,
min_priority
-
1
);
ok
(
rc
==
FALSE
,
"SetThreadPriority passed with a bad argument
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"SetThreadPriority error %d, expected ERROR_INVALID_PARAMETER (87)
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
GetLastError
()
==
ERROR_INVALID_PRIORITY
/* Win9x */
,
"SetThreadPriority error %d, expected ERROR_INVALID_PARAMETER or ERROR_INVALID_PRIORITY
\n
"
,
GetLastError
());
ok
(
GetThreadPriority
(
curthread
)
==
min_priority
,
"GetThreadPriority didn't return min_priority
\n
"
);
...
...
@@ -611,8 +613,10 @@ static VOID test_thread_priority(void)
rc
=
SetThreadPriority
(
curthread
,
max_priority
+
1
);
ok
(
rc
==
FALSE
,
"SetThreadPriority passed with a bad argument
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"SetThreadPriority error %d, expected ERROR_INVALID_PARAMETER (87)
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
GetLastError
()
==
ERROR_INVALID_PRIORITY
/* Win9x */
,
"SetThreadPriority error %d, expected ERROR_INVALID_PARAMETER or ERROR_INVALID_PRIORITY
\n
"
,
GetLastError
());
ok
(
GetThreadPriority
(
curthread
)
==
max_priority
,
"GetThreadPriority didn't return max_priority
\n
"
);
...
...
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