mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-23 00:14:09 +00:00
ntdll: Fake success for ThreadPowerThrottlingState.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52956 Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1e7c6d73c8
commit
bf86dfbcad
|
@ -2255,6 +2255,12 @@ NTSTATUS WINAPI NtSetInformationThread( HANDLE handle, THREADINFOCLASS class,
|
|||
FIXME( "ThreadEnableAlignmentFaultFixup stub!\n" );
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
case ThreadPowerThrottlingState:
|
||||
if (length != sizeof(THREAD_POWER_THROTTLING_STATE)) return STATUS_INFO_LENGTH_MISMATCH;
|
||||
if (!data) return STATUS_ACCESS_VIOLATION;
|
||||
FIXME( "ThreadPowerThrottling stub!\n" );
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
case ThreadBasicInformation:
|
||||
case ThreadTimes:
|
||||
case ThreadPriority:
|
||||
|
|
|
@ -1158,6 +1158,7 @@ NTSTATUS WINAPI wow64_NtSetInformationThread( UINT *args )
|
|||
case ThreadBasePriority: /* ULONG */
|
||||
case ThreadHideFromDebugger: /* void */
|
||||
case ThreadEnableAlignmentFaultFixup: /* BOOLEAN */
|
||||
case ThreadPowerThrottlingState: /* THREAD_POWER_THROTTLING_STATE */
|
||||
return NtSetInformationThread( handle, class, ptr, len );
|
||||
|
||||
case ThreadImpersonationToken: /* HANDLE */
|
||||
|
|
Loading…
Reference in a new issue