[PATCH] winnt: added enums
Roman Stingler
roman.stingler at gmail.com
Wed May 8 15:52:19 CDT 2019
From: romanstingler <roman.stingler at gmail.com>
Signed-off-by: Roman Stingler <roman.stingler at gmail.com>
---
include/processthreadapi.h | 12 ++++++++++++
include/winnt.h | 7 +++++++
2 files changed, 19 insertions(+)
diff --git a/include/processthreadapi.h b/include/processthreadapi.h
index 7788b3be20..effbca4377 100644
--- a/include/processthreadapi.h
+++ b/include/processthreadapi.h
@@ -30,6 +30,18 @@ typedef enum _CPU_SET_INFORMATION_TYPE {
WINAPI BOOL WINAPI SetThreadSelectedCpuSets(HANDLE,const ULONG *,ULONG);
+typedef enum _PROCESS_MEMORY_EXHAUSTION_TYPE {
+ PMETypeFailFastOnCommitFailure,
+ PMETypeMax
+} PROCESS_MEMORY_EXHAUSTION_TYPE, *PPROCESS_MEMORY_EXHAUSTION_TYPE;
+
+typedef struct _PROCESS_MEMORY_EXHAUSTION_INFO {
+ USHORT Version;
+ USHORT Reserved;
+ PROCESS_MEMORY_EXHAUSTION_TYPE Type;
+ ULONG_PTR Value;
+} PROCESS_MEMORY_EXHAUSTION_INFO, *PPROCESS_MEMORY_EXHAUSTION_INFO;
+
#ifdef __cplusplus
}
#endif
diff --git a/include/winnt.h b/include/winnt.h
index 8c9c844662..ef05b40777 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -6580,6 +6580,13 @@ typedef enum _PROCESS_MITIGATION_POLICY
MaxProcessMitigationPolicy
} PROCESS_MITIGATION_POLICY, *PPROCESS_MITIGATION_POLICY;
+typedef enum JOB_OBJECT_NET_RATE_CONTROL_FLAGS {
+ JOB_OBJECT_NET_RATE_CONTROL_ENABLE,
+ JOB_OBJECT_NET_RATE_CONTROL_MAX_BANDWIDTH,
+ JOB_OBJECT_NET_RATE_CONTROL_DSCP_TAG,
+ JOB_OBJECT_NET_RATE_CONTROL_VALID_FLAGS
+} ;
+
#ifdef __cplusplus
}
#endif
--
2.21.0
More information about the wine-devel
mailing list