mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
kernel32/tests: Run tests on NT4 again.
This commit is contained in:
parent
85b52e5693
commit
bafefecaa2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user