SECURITY_ATTRIBUTES Structure

Type SECURITY_ATTRIBUTES
  nLength As Long
  lpSecurityDescriptor As Long
  bInheritHandle As Boolean
End Type

Description & Usage

The SECURITY_ATTRIBUTES structure defines the level and type of security protection to give an object. Note that security information is used much more frequently under Windows NT/2000 than it is under Windows 95/98.

Visual Basic-Specific Issues

None.

Data Members

nLength
The size in bytes of the structure.
lpSecurityDescriptor
A pointer to a security descriptor for the object. To use the default security descriptor, set this to 0.
bInheritHandle
Specifies whether the object's handle should be inherited by new processes or programs.

Used By

CreateDirectory, CreateDirectoryEx, CreateFile, RegCreateKeyEx

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


Last Modified: December 26, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/s/security_attributes.html