Process Hacker Discussion Forum

 
User avatar
MagicAndre1981
Member
Posts: 230
Joined: 22 Nov 2011 12:02
OS: Windows 8Pro(x64) with Win7 UI

compile error

20 Nov 2013 07:50

With your last Win8.1 changes the you missed 2 structs from the 8.1 WDK:
typedef struct _PROCESS_MITIGATION_DYNAMIC_CODE_POLICY {
    union {
        ULONG Flags;
        struct {
            ULONG ProhibitDynamicCode : 1;
            ULONG ReservedFlags : 31;
        };
    };
} PROCESS_MITIGATION_DYNAMIC_CODE_POLICY, *PPROCESS_MITIGATION_DYNAMIC_CODE_POLICY;

typedef struct _PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY {
    union {
        ULONG Flags;
        struct {
            ULONG MicrosoftSignedOnly : 1;
            ULONG ReservedFlags : 31;
        };
    };
} PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY, *PPROCESS_MITIGATION_BINARY_SIGNATURE_POLICY;
otherwise I was not able to compile the code.