PROCESS_MITIGATION_DEP_POLICY structure (winnt.h)
Contains process mitigation policy settings for data execution prevention (DEP). The GetProcessMitigationPolicy and SetProcessMitigationPolicy functions use this structure.
Syntax
typedef struct _PROCESS_MITIGATION_DEP_POLICY {
union {
DWORD Flags;
struct {
DWORD Enable : 1;
DWORD DisableAtlThunkEmulation : 1;
DWORD ReservedFlags : 30;
} DUMMYSTRUCTNAME;
} DUMMYUNIONNAME;
BOOLEAN Permanent;
} PROCESS_MITIGATION_DEP_POLICY, *PPROCESS_MITIGATION_DEP_POLICY;
Members
DUMMYUNIONNAME
DUMMYUNIONNAME.Flags
This member is reserved for system use.
DUMMYUNIONNAME.DUMMYSTRUCTNAME
DUMMYUNIONNAME.DUMMYSTRUCTNAME.Enable
DUMMYUNIONNAME.DUMMYSTRUCTNAME.DisableAtlThunkEmulation
DUMMYUNIONNAME.DUMMYSTRUCTNAME.ReservedFlags
Permanent
DEP is permanently enabled and cannot be disabled if this field is set to TRUE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | winnt.h |