[PATCH] winnt: added enums
From: romanstingler <roman.stingler(a)gmail.com> Signed-off-by: Roman Stingler <roman.stingler(a)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
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=52034 Your paranoid android. === debian9 (build log) === Task: Patch failed to apply === debian9 (build log) === Task: Patch failed to apply
participants (2)
-
Marvin -
Roman Stingler