
- 外文名 Security attributes
- 属 性 一组和负责人相关联的属性
- 类 型 认证协议
- 相 关 J2EE产品
定义
一组和负责人相关联的属性。Security attribute请他顾s能够和一个负责人相关联,通过J2EE产品提供商制定的认证协议。
应用
The SECURITY_AT来自TRIBUTES st360百科ructure contains the secu里就家件夫差觉盾背胞实rity desc似析属riptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.
typedef struct _SEC跟烧URITY_ATTRIBUTES { // sa
DWORD nLength;
LPVOID lpSecurityDescriptor;
BOOL bInheritHandle;
神细玉章又 } SECURITY_ATTRIBUTES;
Members
nLength
Specifies the size, in bytes, of this structure. Set this value to the size of the SECURITY_ATTRIBUTES structure.
Windows NT: Some functions that use the SECURITY_ATTRIBUTES structure do not verify th解e value of the nLength member. Howe些防简线算ver, an appli神抗亚技仅还cation should still set it properly. That ensures current, future, and cross-platf角贵激应照船构orm compatibility.
lpSecurityDescriptor
Pointer to a security descriptor for the object that controls the sharing of it. If NULL is specified for this member, the object may 如厂初措月山境be assigned the default security descriptor of the calling process.
Windows 95 and Windows 98: The lpSecurityDescriptor member of the structure is ignored.
bInheritHandle
Speci东略艺更跑fies whether the returned handle is inherited when a new process is created. If this member is TRUE, the new process inherits the hand承按理乙许流又列le.
Remarks
A pointer to a 约航决露故石布然二茶SECURITY_ATTRIBUTES structure is used as 十单战抗田妒白受示质a parameter in most kernel and window-management functions in the Win32 API that return a hand农纸封le of an object.
评论留言