Nikolay Sivov (@nsivov) commented about include/processthreadsapi.h:
ULONG MemoryPriority;
} MEMORY_PRIORITY_INFORMATION, *PMEMORY_PRIORITY_INFORMATION;
+#undef ControlMask +typedef struct _THREAD_POWER_THROTTLING_STATE +{
- ULONG Version;
- ULONG ControlMask;
- ULONG StateMask;
+} THREAD_POWER_THROTTLING_STATE;
This is not a conflict within SDK headers, so I think workaround should be applied to winex11 only.