Share via


DpapiNGProtectionDescriptorFlags Enum

Definition

Flags used to control the creation of protection descriptors.

This enumeration supports a bitwise combination of its member values.

public enum class DpapiNGProtectionDescriptorFlags
[System.Flags]
public enum DpapiNGProtectionDescriptorFlags
[<System.Flags>]
type DpapiNGProtectionDescriptorFlags = 
Public Enum DpapiNGProtectionDescriptorFlags
Inheritance
DpapiNGProtectionDescriptorFlags
Attributes

Fields

None 0

No special handling is necessary.

NamedDescriptor 1

The provided descriptor is a reference to a full descriptor stored in the system registry.

MachineKey 32

When combined with NamedDescriptor, uses the HKLM registry instead of the HKCU registry when locating the full descriptor.

Remarks

These values correspond to the 'dwFlags' parameter on NCryptCreateProtectionDescriptor. See https://msdn.microsoft.com/en-us/library/windows/desktop/hh706800(v=vs.85).aspx for more information.

Applies to