Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
ATL
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

AtlGetDacl 

Call this function to retrieve the discretionary access-control list (DACL) information of a specified object.


inline bool AtlGetDacl(
   HANDLE hObject,
   SE_OBJECT_TYPE ObjectType,
   CDacl* pDacl
) throw(   );

Parameters

hObject

Handle to the object for which to retrieve the security information.

ObjectType

Specifies a value from the SE_OBJECT_TYPE enumeration that indicates the type of object identified by the hObject parameter.

pDacl

Pointer to a DACL object which will contain the retrieved security information.

Returns true on success, false on failure.

In debug builds, an assertion error will occur if either hObject or pDacl is invalid.

Community Additions

ADD
Show:
© 2015 Microsoft