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
b4684bc5
Commit
b4684bc5
authored
Nov 08, 2019
by
Conor McCarthy
Committed by
Alexandre Julliard
Nov 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Add stub for SetThreadDescription().
Used by Hitman 2. Signed-off-by:
Conor McCarthy
<
cmccarthy@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b4ec4028
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
api-ms-win-core-processthreads-l1-1-3.spec
...threads-l1-1-3/api-ms-win-core-processthreads-l1-1-3.spec
+1
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
thread.c
dlls/kernelbase/thread.c
+10
-0
No files found.
dlls/api-ms-win-core-processthreads-l1-1-3/api-ms-win-core-processthreads-l1-1-3.spec
View file @
b4684bc5
...
...
@@ -5,6 +5,6 @@
@ stub GetThreadSelectedCpuSets
@ stub SetProcessDefaultCpuSets
@ stub SetProcessInformation
@ st
ub
SetThreadDescription
@ st
dcall SetThreadDescription(ptr wstr) kernel32.
SetThreadDescription
@ stdcall SetThreadIdealProcessor(long long) kernel32.SetThreadIdealProcessor
@ stub SetThreadSelectedCpuSets
dlls/kernel32/kernel32.spec
View file @
b4684bc5
...
...
@@ -1447,6 +1447,7 @@
@ stdcall SetTermsrvAppInstallMode(long)
@ stdcall SetThreadAffinityMask(long long)
@ stdcall -import SetThreadContext(long ptr)
@ stdcall -import SetThreadDescription(ptr wstr)
@ stdcall -import SetThreadErrorMode(long ptr)
@ stdcall SetThreadExecutionState(long)
@ stdcall -import SetThreadGroupAffinity(long ptr ptr)
...
...
dlls/kernelbase/kernelbase.spec
View file @
b4684bc5
...
...
@@ -1478,7 +1478,7 @@
@ stdcall SetSystemTime(ptr)
@ stdcall SetSystemTimeAdjustment(long long) kernel32.SetSystemTimeAdjustment
@ stdcall SetThreadContext(long ptr)
# @ stub SetThreadDescription
@ stdcall SetThreadDescription(ptr wstr)
@ stdcall SetThreadErrorMode(long ptr)
@ stdcall SetThreadGroupAffinity(long ptr ptr)
@ stdcall SetThreadIdealProcessor(long long)
...
...
dlls/kernelbase/thread.c
View file @
b4684bc5
...
...
@@ -388,6 +388,16 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetThreadContext( HANDLE thread, const CONTEXT *co
/***********************************************************************
* SetThreadDescription (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
SetThreadDescription
(
HANDLE
thread
,
PCWSTR
description
)
{
FIXME
(
"(%p %s): stub
\n
"
,
thread
,
debugstr_w
(
description
));
return
E_NOTIMPL
;
}
/***********************************************************************
* SetThreadErrorMode (kernelbase.@)
*/
BOOL
WINAPI
SetThreadErrorMode
(
DWORD
mode
,
DWORD
*
old
)
...
...
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