다음을 통해 공유


CSecurityAttributes::Set

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

void Set( 
   const CSecurityDesc & rSecurityDescriptor, 
   bool bInheritHandle = false 
) throw(...);

Parameters

  • rSecurityDescriptor
    Reference to a security descriptor.

  • 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.

Remarks

This method is used by the constructor to initialize the CSecurityAttributes object.

Requirements

Header: atlsecurity.h

See Also

Reference

CSecurityAttributes Class