[PATCH 2/3] include: Add THREAD_POWER_THROTTLING_STATE type
Alistair Leslie-Hughes
wine at gitlab.winehq.org
Mon May 23 05:44:24 CDT 2022
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
include/processthreadsapi.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/processthreadsapi.h b/include/processthreadsapi.h
index 8cdaff4796a..3c376359fc4 100644
--- a/include/processthreadsapi.h
+++ b/include/processthreadsapi.h
@@ -23,6 +23,14 @@
extern "C" {
#endif
+#undef ControlMask
+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);
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/115
More information about the wine-devel
mailing list