SECURITY_ATTRIBUTES Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the security descriptor of an object and specifies whether the handle retrieved by specifying this structure is inheritable.
public value class SECURITY_ATTRIBUTES
struct SECURITY_ATTRIBUTES
[System.Runtime.InteropServices.ComConversionLoss]
public struct SECURITY_ATTRIBUTES
[<System.Runtime.InteropServices.ComConversionLoss>]
type SECURITY_ATTRIBUTES = struct
Public Structure SECURITY_ATTRIBUTES
- Inheritance
-
SECURITY_ATTRIBUTES
- Attributes
Remarks
A security descriptor contains security information that identifies the object's owner and primary group. It can also contain a DACL that controls access to the object, and a SACL that controls the logging of attempts to access the object.
Fields
bInheritHandle |
Determines whether the returned handle is inherited when a new process is created. If this field is set to a non-zero value, the new process inherits the handle. If it is 0, the new process does not inherit the handle. |
lpSecurityDescriptor |
A pointer to a SECURITY_DESCRIPTOR structure that controls access to the object. If the value of this member is |
nLength |
The size, in bytes, of this structure. Set this value to the size of this structure. |