Freigeben über


CSecurityAttributes Class

This class is a thin wrapper for the security attributes structure.

Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

class CSecurityAttributes : public SECURITY_ATTRIBUTES

Members

Public Constructors

Name

Description

CSecurityAttributes::CSecurityAttributes

The constructor.

Public Methods

Name

Description

CSecurityAttributes::Set

Call this method to set the attributes of the CSecurityAttributes object.

Remarks

The SECURITY_ATTRIBUTES structure contains a security descriptor used for the creation of an object and specifies whether the handle retrieved by specifying this structure is inheritable.

For an introduction to the access control model in Windows, see Access Control in the Windows SDK.

Inheritance Hierarchy

SECURITY_ATTRIBUTES

CSecurityAttributes

Requirements

Header: atlsecurity.h

See Also

Reference

SECURITY_ATTRIBUTES

security descriptor

Concepts

Security Sample

Other Resources

ATL Class Overview

Security Global Functions