From: Austin English Subject: [PATCH 3/3] kernel32: add SetThreadIdealProcessorEx stub Message-Id: <20170519041530.9752-3-austinenglish@gmail.com> Date: Thu, 18 May 2017 23:15:30 -0500 In-Reply-To: <20170519041530.9752-1-austinenglish@gmail.com> References: <20170519041530.9752-1-austinenglish@gmail.com> Signed-off-by: Austin English --- dlls/kernel32/kernel32.spec | 2 +- dlls/kernel32/thread.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 3260cdd823..1a11af579f 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -1449,7 +1449,7 @@ @ stdcall SetThreadExecutionState(long) @ stdcall SetThreadGroupAffinity(long ptr ptr) @ stdcall SetThreadIdealProcessor(long long) -# @ stub SetThreadIdealProcessorEx +@ stdcall SetThreadIdealProcessorEx(long ptr ptr) @ stdcall SetThreadLocale(long) @ stdcall SetThreadPreferredUILanguages(long ptr ptr) @ stdcall SetThreadPriority(long long) diff --git a/dlls/kernel32/thread.c b/dlls/kernel32/thread.c index de466185e9..ac2c368778 100644 --- a/dlls/kernel32/thread.c +++ b/dlls/kernel32/thread.c @@ -471,6 +471,15 @@ DWORD WINAPI SetThreadIdealProcessor( return 0; } +/*********************************************************************** + * SetThreadIdealProcessorEx (KERNEL32.@) + */ +BOOL SetThreadIdealProcessorEx( HANDLE thread, PROCESSOR_NUMBER *ideal, PROCESSOR_NUMBER *previous ) +{ + FIXME("(%p %p %p): stub\n", thread, ideal, previous); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} /*********************************************************************** * GetThreadSelectorEntry (KERNEL32.@) -- 2.13.0