共用方式為


BcdOSLoader_NxPolicy enumeration

Specifies the no-execute page protection policies.

Syntax

typedef enum BcdOSLoader_NxPolicy { 
  NxPolicyOptIn      = 0,
  NxPolicyOptOut     = 1,
  NxPolicyAlwaysOff  = 2,
  NxPolicyAlwaysOn   = 3
} BcdOSLoader_NxPolicy;

Constants

NxPolicyOptIn

The no-execute page protection is off by default.

NxPolicyOptOut

The no-execute page protection is on by default.

NxPolicyAlwaysOff

The no-execute page protection is always off.

NxPolicyAlwaysOn

The no-execute page protection is always on.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

BCD WMI Provider Enumerations

BcdOSLoaderElementTypes