The IsValidAcl function validates an access-control list (ACL).
BOOL IsValidAcl(
PACL pAcl // address of access-control list
);
If the ACL is valid, the return value is nonzero.
If the ACL is not valid, the return value is zero. There is no extended error information for this function; do not call GetLastError.
This function checks the revision level of the ACL and verifies that the number of access-control entries (ACEs) specified in the AceCount member of the ACL structure fits the space specified by the AclSize member of the ACL structure.
If pAcl is NULL, the application will fail with an access violation.
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in winbase.h.
Import Library: Use advapi32.lib.
Low-Level Access-Control Overview, Low-Level Access Control Functions, ACL, GetAclInformation, InitializeAcl