dxgi: Fix a typo in a comment.
[wine.git] / include / processthreadsapi.h
blobf2554950952d6c1bd236967f59d45834cf594868
1 /*
2 * Copyright 2021 Brendan Shanks for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _PROCESSTHREADSAPI_H
20 #define _PROCESSTHREADSAPI_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 typedef enum _THREAD_INFORMATION_CLASS
28 ThreadMemoryPriority,
29 ThreadAbsoluteCpuPriority,
30 ThreadDynamicCodePolicy,
31 ThreadPowerThrottling,
32 ThreadInformationClassMax
33 } THREAD_INFORMATION_CLASS;
35 typedef struct _MEMORY_PRIORITY_INFORMATION
37 ULONG MemoryPriority;
38 } MEMORY_PRIORITY_INFORMATION, *PMEMORY_PRIORITY_INFORMATION;
40 typedef struct _THREAD_POWER_THROTTLING_STATE
42 ULONG Version;
43 ULONG ControlMask;
44 ULONG StateMask;
45 } THREAD_POWER_THROTTLING_STATE;
47 WINBASEAPI HRESULT WINAPI GetThreadDescription(HANDLE,PWSTR *);
48 WINBASEAPI HRESULT WINAPI SetThreadDescription(HANDLE,PCWSTR);
49 WINBASEAPI BOOL WINAPI SetThreadInformation(HANDLE,THREAD_INFORMATION_CLASS,LPVOID,DWORD);
51 #ifdef __cplusplus
53 #endif
55 #endif /* _PROCESSTHREADSAPI_H */