DpapiNGProtectionDescriptorFlags 枚举

定义

用于控制创建保护描述符的标志。

此枚举支持其成员值的按位组合。

public enum class DpapiNGProtectionDescriptorFlags
[System.Flags]
public enum DpapiNGProtectionDescriptorFlags
[<System.Flags>]
type DpapiNGProtectionDescriptorFlags = 
Public Enum DpapiNGProtectionDescriptorFlags
继承
DpapiNGProtectionDescriptorFlags
属性

字段

MachineKey 32

NamedDescriptor结合使用时,在查找完整描述符时,使用 HKLM 注册表而不是 HKCU 注册表。

NamedDescriptor 1

提供的描述符是对系统注册表中存储的完整描述符的引用。

None 0

无需特殊处理。

注解

这些值对应于 NCryptCreateProtectionDescriptor 上的“dwFlags”参数。 有关详细信息,请参阅https://msdn.microsoft.com/en-us/library/windows/desktop/hh706800(v=vs.85).aspx

适用于