Alistair Leslie-Hughes : include: Add THREAD_POWER_THROTTLING_STATE type.
Alexandre Julliard
julliard at winehq.org
Wed May 25 16:51:47 CDT 2022
Module: wine
Branch: master
Commit: 1e7c6d73c8f558668c6140d4a97fae0ad51d71eb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1e7c6d73c8f558668c6140d4a97fae0ad51d71eb
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Sun May 22 16:09:23 2022 +1000
include: Add THREAD_POWER_THROTTLING_STATE type.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
include/processthreadsapi.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/processthreadsapi.h b/include/processthreadsapi.h
index d266b7a727b..f2554950952 100644
--- a/include/processthreadsapi.h
+++ b/include/processthreadsapi.h
@@ -37,6 +37,13 @@ typedef struct _MEMORY_PRIORITY_INFORMATION
ULONG MemoryPriority;
} MEMORY_PRIORITY_INFORMATION, *PMEMORY_PRIORITY_INFORMATION;
+typedef struct _THREAD_POWER_THROTTLING_STATE
+{
+ ULONG Version;
+ ULONG ControlMask;
+ ULONG StateMask;
+} THREAD_POWER_THROTTLING_STATE;
+
WINBASEAPI HRESULT WINAPI GetThreadDescription(HANDLE,PWSTR *);
WINBASEAPI HRESULT WINAPI SetThreadDescription(HANDLE,PCWSTR);
WINBASEAPI BOOL WINAPI SetThreadInformation(HANDLE,THREAD_INFORMATION_CLASS,LPVOID,DWORD);
More information about the wine-cvs
mailing list