Group: Security - Library: advapi32
Reading security permissions for NTFS files and folders
BOOL GetAclInformation(
PACL pAcl,
LPVOID pAclInformation,
DWORD nAclInformationLength,
ACL_INFORMATION_CLASS dwAclInformationClass
);
DECLARE INTEGER GetAclInformation IN advapi32;
INTEGER pAcl,;
STRING @pAclInformation,;
LONG nAclInfoLen,;
INTEGER dwAclInfoClass
pAcl [in] A pointer to an ACL. The function retrieves information about this ACL.
pAclInformation [out] A pointer to a buffer to receive the requested information.
nAclInformationLength [in] The size, in bytes, of the buffer pointed to by the pAclInformation parameter.
dwAclInformationClass [in] A value of the ACL_INFORMATION_CLASS enumeration that indicates the class of information requested.
If the function succeeds, the function returns nonzero.