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>
This commit is contained in:
Conor McCarthy 2019-11-08 00:54:33 +10:00 committed by Alexandre Julliard
parent b4ec402859
commit b4684bc561
4 changed files with 13 additions and 2 deletions

View File

@ -5,6 +5,6 @@
@ stub GetThreadSelectedCpuSets @ stub GetThreadSelectedCpuSets
@ stub SetProcessDefaultCpuSets @ stub SetProcessDefaultCpuSets
@ stub SetProcessInformation @ stub SetProcessInformation
@ stub SetThreadDescription @ stdcall SetThreadDescription(ptr wstr) kernel32.SetThreadDescription
@ stdcall SetThreadIdealProcessor(long long) kernel32.SetThreadIdealProcessor @ stdcall SetThreadIdealProcessor(long long) kernel32.SetThreadIdealProcessor
@ stub SetThreadSelectedCpuSets @ stub SetThreadSelectedCpuSets

View File

@ -1447,6 +1447,7 @@
@ stdcall SetTermsrvAppInstallMode(long) @ stdcall SetTermsrvAppInstallMode(long)
@ stdcall SetThreadAffinityMask(long long) @ stdcall SetThreadAffinityMask(long long)
@ stdcall -import SetThreadContext(long ptr) @ stdcall -import SetThreadContext(long ptr)
@ stdcall -import SetThreadDescription(ptr wstr)
@ stdcall -import SetThreadErrorMode(long ptr) @ stdcall -import SetThreadErrorMode(long ptr)
@ stdcall SetThreadExecutionState(long) @ stdcall SetThreadExecutionState(long)
@ stdcall -import SetThreadGroupAffinity(long ptr ptr) @ stdcall -import SetThreadGroupAffinity(long ptr ptr)

View File

@ -1478,7 +1478,7 @@
@ stdcall SetSystemTime(ptr) @ stdcall SetSystemTime(ptr)
@ stdcall SetSystemTimeAdjustment(long long) kernel32.SetSystemTimeAdjustment @ stdcall SetSystemTimeAdjustment(long long) kernel32.SetSystemTimeAdjustment
@ stdcall SetThreadContext(long ptr) @ stdcall SetThreadContext(long ptr)
# @ stub SetThreadDescription @ stdcall SetThreadDescription(ptr wstr)
@ stdcall SetThreadErrorMode(long ptr) @ stdcall SetThreadErrorMode(long ptr)
@ stdcall SetThreadGroupAffinity(long ptr ptr) @ stdcall SetThreadGroupAffinity(long ptr ptr)
@ stdcall SetThreadIdealProcessor(long long) @ stdcall SetThreadIdealProcessor(long long)

View File

@ -387,6 +387,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.@) * SetThreadErrorMode (kernelbase.@)
*/ */