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
bafefeca
Commit
bafefeca
authored
Dec 30, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Jan 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Run tests on NT4 again.
parent
85b52e56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
thread.c
dlls/kernel32/tests/thread.c
+10
-8
No files found.
dlls/kernel32/tests/thread.c
View file @
bafefeca
...
...
@@ -472,15 +472,17 @@ static VOID test_thread_priority(void)
todo_wine
ok
(
rc
!=
0
,
"error=%d
\n
"
,
GetLastError
());
if
(
pOpenThread
)
{
/* check that access control is obeyed */
access_thread
=
pOpenThread
(
THREAD_ALL_ACCESS
&
(
~
THREAD_QUERY_INFORMATION
)
&
(
~
THREAD_SET_INFORMATION
),
0
,
curthreadId
);
ok
(
access_thread
!=
NULL
,
"OpenThread returned an invalid handle
\n
"
);
if
(
access_thread
!=
NULL
)
{
obey_ar
(
pSetThreadPriorityBoost
(
access_thread
,
1
)
==
0
);
obey_ar
(
pGetThreadPriorityBoost
(
access_thread
,
&
disabled
)
==
0
);
ok
(
CloseHandle
(
access_thread
),
"Error Closing thread handle
\n
"
);
access_thread
=
pOpenThread
(
THREAD_ALL_ACCESS
&
(
~
THREAD_QUERY_INFORMATION
)
&
(
~
THREAD_SET_INFORMATION
),
0
,
curthreadId
);
ok
(
access_thread
!=
NULL
,
"OpenThread returned an invalid handle
\n
"
);
if
(
access_thread
!=
NULL
)
{
obey_ar
(
pSetThreadPriorityBoost
(
access_thread
,
1
)
==
0
);
obey_ar
(
pGetThreadPriorityBoost
(
access_thread
,
&
disabled
)
==
0
);
ok
(
CloseHandle
(
access_thread
),
"Error Closing thread handle
\n
"
);
}
}
todo_wine
{
...
...
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