Lines Matching defs:pSD
1123 PSECURITY_DESCRIPTOR pSD = (PSECURITY_DESCRIPTOR)deCalloc(SECURITY_DESCRIPTOR_MIN_LENGTH + 2 * sizeof (void**));
1125 if (pSD)
1127 PSID* ppEveryoneSID = (PSID*)((PBYTE)pSD + SECURITY_DESCRIPTOR_MIN_LENGTH);
1130 bool res = InitializeSecurityDescriptor(pSD, SECURITY_DESCRIPTOR_REVISION);
1146 res = SetSecurityDescriptorDacl(pSD, TRUE, *ppACL, FALSE);
1150 return pSD;
1153 static void freeSecurityDescriptor (void* pSD)
1155 if (pSD)
1157 PSID* ppEveryoneSID = (PSID*)((PBYTE)pSD + SECURITY_DESCRIPTOR_MIN_LENGTH);
1166 deFree(pSD);