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
05ab8b98
Commit
05ab8b98
authored
Feb 02, 2017
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add stub implementation of NtQueryInformationThread(ThreadIsIoPending).
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6737ac70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
+20
-3
thread.c
dlls/kernel32/tests/thread.c
+1
-0
thread.c
dlls/kernel32/thread.c
+11
-2
thread.c
dlls/ntdll/thread.c
+8
-1
No files found.
dlls/kernel32/tests/thread.c
View file @
05ab8b98
...
...
@@ -1969,6 +1969,7 @@ todo_wine
case
ThreadAffinityMask
:
case
ThreadQuerySetWin32StartAddress
:
case
ThreadIsIoPending
:
todo_wine
ok
(
status
==
STATUS_ACCESS_DENIED
,
"for info %u expected STATUS_ACCESS_DENIED, got %08x (ret_len %u)
\n
"
,
i
,
status
,
ret_len
);
break
;
...
...
dlls/kernel32/thread.c
View file @
05ab8b98
...
...
@@ -918,8 +918,17 @@ LANGID WINAPI GetThreadUILanguage( void )
*/
BOOL
WINAPI
GetThreadIOPendingFlag
(
HANDLE
thread
,
PBOOL
io_pending
)
{
FIXME
(
"%p, %p
\n
"
,
thread
,
io_pending
);
*
io_pending
=
FALSE
;
NTSTATUS
status
;
TRACE
(
"%p, %p
\n
"
,
thread
,
io_pending
);
status
=
NtQueryInformationThread
(
thread
,
ThreadIsIoPending
,
io_pending
,
sizeof
(
*
io_pending
),
NULL
);
if
(
status
)
{
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
FALSE
;
}
return
TRUE
;
}
...
...
dlls/ntdll/thread.c
View file @
05ab8b98
...
...
@@ -1157,6 +1157,14 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class,
}
}
return
status
;
case
ThreadIsIoPending
:
FIXME
(
"ThreadIsIoPending info class not supported yet
\n
"
);
if
(
length
!=
sizeof
(
BOOL
))
return
STATUS_INFO_LENGTH_MISMATCH
;
if
(
!
data
)
return
STATUS_ACCESS_DENIED
;
*
(
BOOL
*
)
data
=
FALSE
;
if
(
ret_len
)
*
ret_len
=
sizeof
(
BOOL
);
return
STATUS_SUCCESS
;
case
ThreadPriority
:
case
ThreadBasePriority
:
case
ThreadImpersonationToken
:
...
...
@@ -1167,7 +1175,6 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class,
case
ThreadIdealProcessor
:
case
ThreadPriorityBoost
:
case
ThreadSetTlsArrayAddress
:
case
ThreadIsIoPending
:
default:
FIXME
(
"info class %d not supported yet
\n
"
,
class
);
return
STATUS_NOT_IMPLEMENTED
;
...
...
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