Mark Jansen : include: Add ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION and related struct/enum.

Alexandre Julliard julliard at winehq.org
Mon Feb 12 16:10:37 CST 2018


Module: wine
Branch: master
Commit: 7960ce3ddd43e7776c06abdc18b6970487e2334b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7960ce3ddd43e7776c06abdc18b6970487e2334b

Author: Mark Jansen <mark.jansen at reactos.org>
Date:   Tue Feb  6 16:07:41 2018 +0100

include: Add ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION and related struct/enum.

Signed-off-by: Mark Jansen <mark.jansen at reactos.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/winnt.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/include/winnt.h b/include/winnt.h
index a9d718a..04f00a6 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -5746,11 +5746,29 @@ typedef struct _ASSEMBLY_FILE_DETAILED_INFORMATION {
 
 typedef const ASSEMBLY_FILE_DETAILED_INFORMATION *PCASSEMBLY_FILE_DETAILED_INFORMATION;
 
+typedef enum {
+    ACTCX_COMPATIBILITY_ELEMENT_TYPE_UNKNOWN = 0,
+    ACTCX_COMPATIBILITY_ELEMENT_TYPE_OS
+} ACTCTX_COMPATIBILITY_ELEMENT_TYPE;
+
+typedef struct _COMPATIBILITY_CONTEXT_ELEMENT {
+    GUID Id;
+    ACTCTX_COMPATIBILITY_ELEMENT_TYPE Type;
+} COMPATIBILITY_CONTEXT_ELEMENT, *PCOMPATIBILITY_CONTEXT_ELEMENT;
+
+#if !defined(__WINESRC__) && (defined(_MSC_EXTENSIONS) || ((defined(__GNUC__) && __GNUC__ >= 3)))
+typedef struct _ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION {
+    DWORD ElementCount;
+    COMPATIBILITY_CONTEXT_ELEMENT Elements[];
+} ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION, *PACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION;
+#endif
+
 typedef enum _ACTIVATION_CONTEXT_INFO_CLASS {
     ActivationContextBasicInformation                       = 1,
     ActivationContextDetailedInformation                    = 2,
     AssemblyDetailedInformationInActivationContext          = 3,
     FileInformationInAssemblyOfAssemblyInActivationContext  = 4,
+    CompatibilityInformationInActivationContext             = 6,
     MaxActivationContextInfoClass,
 
     AssemblyDetailedInformationInActivationContxt          = 3,




More information about the wine-cvs mailing list