kernel32: Add stub for SetThreadSelectedCpuSets().

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2021-04-28 20:01:45 +03:00 committed by Alexandre Julliard
parent 8203c5db02
commit 96abde9eac
4 changed files with 14 additions and 2 deletions

View File

@ -7,4 +7,4 @@
@ stub SetProcessInformation
@ stdcall SetThreadDescription(ptr wstr) kernel32.SetThreadDescription
@ stdcall SetThreadIdealProcessor(long long) kernel32.SetThreadIdealProcessor
@ stub SetThreadSelectedCpuSets
@ stdcall SetThreadSelectedCpuSets(ptr ptr long) kernel32.SetThreadSelectedCpuSets

View File

@ -1471,6 +1471,7 @@
@ stdcall -import SetThreadPreferredUILanguages(long ptr ptr)
@ stdcall -import SetThreadPriority(long long)
@ stdcall -import SetThreadPriorityBoost(long long)
@ stdcall -import SetThreadSelectedCpuSets(ptr ptr long)
@ stdcall -import SetThreadStackGuarantee(ptr)
# @ stub SetThreadToken
@ stdcall -import SetThreadUILanguage(long)

View File

@ -1494,7 +1494,7 @@
@ stdcall SetThreadPreferredUILanguages(long ptr ptr)
@ stdcall SetThreadPriority(long long)
@ stdcall SetThreadPriorityBoost(long long)
# @ stub SetThreadSelectedCpuSets
@ stdcall SetThreadSelectedCpuSets(ptr ptr long)
@ stdcall SetThreadStackGuarantee(ptr)
@ stdcall SetThreadToken(ptr ptr)
@ stdcall SetThreadUILanguage(long)

View File

@ -1168,6 +1168,17 @@ BOOL WINAPI GetSystemCpuSetInformation(SYSTEM_CPU_SET_INFORMATION *info, ULONG b
}
/***********************************************************************
* SetThreadSelectedCpuSets (kernelbase.@)
*/
BOOL WINAPI SetThreadSelectedCpuSets(HANDLE thread, const ULONG *cpu_set_ids, ULONG count)
{
FIXME( "thread %p, cpu_set_ids %p, count %u stub.\n", thread, cpu_set_ids, count );
return TRUE;
}
/**********************************************************************
* GetNumaHighestNodeNumber (kernelbase.@)
*/