SECURITY_ATTRIBUTES.lpSecurityDescriptor 字段

定义

指向 SECURITY_DESCRIPTOR 结构的指针,该结构控制对对象的访问。 如果此成员的值为 null ,则为对象分配与调用进程的访问令牌关联的默认安全描述符。 这不同于通过分配 null (DACL) 的自由访问控制列表来向每个人授予访问权限。 进程的访问令牌中的默认 DACL 只允许访问由访问令牌表示的用户。

public: IntPtr lpSecurityDescriptor;
[System.Runtime.InteropServices.ComConversionLoss]
public IntPtr lpSecurityDescriptor;
[<System.Runtime.InteropServices.ComConversionLoss>]
val mutable lpSecurityDescriptor : nativeint
Public lpSecurityDescriptor As IntPtr 

字段值

IntPtr

nativeint

属性

适用于