On 2/10/2018 2:06 AM, Mark Jansen wrote:
+typedef struct _ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION {
- DWORD ElementCount;
+#if defined(_MSC_EXTENSIONS) || ((defined(__GNUC__) && __GNUC__ >= 3))
- COMPATIBILITY_CONTEXT_ELEMENT Elements[];
+#endif +} ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION, *PACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION;
This will produce different types depending on tools you're using. I think you should not define this type at all if it's not supported.