Searched refs:new_access (Results 1 – 1 of 1) sorted by relevance
141 EXPLICIT_ACCESS new_access = {0}; in AddAccessToKernelObject() local142 new_access.grfAccessMode = GRANT_ACCESS; in AddAccessToKernelObject()143 new_access.grfAccessPermissions = access; in AddAccessToKernelObject()144 new_access.grfInheritance = NO_INHERITANCE; in AddAccessToKernelObject()146 new_access.Trustee.pMultipleTrustee = NULL; in AddAccessToKernelObject()147 new_access.Trustee.MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE; in AddAccessToKernelObject()148 new_access.Trustee.TrusteeForm = TRUSTEE_IS_SID; in AddAccessToKernelObject()149 new_access.Trustee.ptstrName = reinterpret_cast<LPWSTR>(&sid); in AddAccessToKernelObject()151 if (ERROR_SUCCESS != SetEntriesInAcl(1, &new_access, old_dacl, &new_dacl)) { in AddAccessToKernelObject()