Searched refs:pSD (Results 1 – 1 of 1) sorted by relevance
1119 …PSECURITY_DESCRIPTOR pSD = (PSECURITY_DESCRIPTOR)deCalloc(SECURITY_DESCRIPTOR_MIN_LENGTH + 2 * siz… in getSecurityDescriptor() local1121 if (pSD) in getSecurityDescriptor()1123 PSID* ppEveryoneSID = (PSID*)((PBYTE)pSD + SECURITY_DESCRIPTOR_MIN_LENGTH); in getSecurityDescriptor()1126 bool res = InitializeSecurityDescriptor(pSD, SECURITY_DESCRIPTOR_REVISION); in getSecurityDescriptor()1142 res = SetSecurityDescriptorDacl(pSD, TRUE, *ppACL, FALSE); in getSecurityDescriptor()1146 return pSD; in getSecurityDescriptor()1149 static void freeSecurityDescriptor (void* pSD) in freeSecurityDescriptor() argument1151 if (pSD) in freeSecurityDescriptor()1153 PSID* ppEveryoneSID = (PSID*)((PBYTE)pSD + SECURITY_DESCRIPTOR_MIN_LENGTH); in freeSecurityDescriptor()1162 deFree(pSD); in freeSecurityDescriptor()