pDacl is a pointer to an access control list. These contain Access Control Entries (ACE). Use GetAce to get a pointer to an ACE. Use GetAclInformation to find the number of ACE's present. Look up ACE...