Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

SECURITY_ATTRIBUTES Struct Reference
[synsoft.win32.types]

List of all members.

Detailed Description

Contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.


Public Attributes

DWORD nLength
 The size, in bytes, of this structure.

LPVOID lpSecurityDescriptor
 Pointer to a security descriptor for the object that controls the sharing of it. If NULL is specified for this member, the object is assigned the default security descriptor of the calling process. This is not the same as granting access to everyone by assigning a null DACL. The default security descriptor is based on the default DACL of the access token belonging to the calling process. By default, the default DACL in the access token of a process allows access only to the user represented by the access token. If other users must access the object, you can either create a security descriptor with a null DACL, or add ACEs to the DACL that grants access to a group of users.

BOOL bInheritHandle
 Specifies whether the returned handle is inherited when a new process is created. If this member is TRUE, the new process inherits the handle.


Member Data Documentation

BOOL bInheritHandle
 

Specifies whether the returned handle is inherited when a new process is created. If this member is TRUE, the new process inherits the handle.

LPVOID lpSecurityDescriptor
 

Pointer to a security descriptor for the object that controls the sharing of it. If NULL is specified for this member, the object is assigned the default security descriptor of the calling process. This is not the same as granting access to everyone by assigning a null DACL. The default security descriptor is based on the default DACL of the access token belonging to the calling process. By default, the default DACL in the access token of a process allows access only to the user represented by the access token. If other users must access the object, you can either create a security descriptor with a null DACL, or add ACEs to the DACL that grants access to a group of users.

DWORD nLength
 

The size, in bytes, of this structure.


The documentation for this struct was generated from the following file:

D Libraries documentation © Synesis Software Pty Ltd, 2002-2003