Searched refs:desired_access (Results 1 – 1 of 1) sorted by relevance
202 DWORD sec_desc_length = 0, desired_access = 0, granted_access = 0; in tsrm_win32_access() local294 desired_access = FILE_GENERIC_READ; in tsrm_win32_access()300 desired_access = FILE_GENERIC_WRITE; in tsrm_win32_access()306 desired_access = FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS; in tsrm_win32_access()312 desired_access = FILE_GENERIC_READ | FILE_GENERIC_WRITE; in tsrm_win32_access()330 MapGenericMask(&desired_access, &gen_map); in tsrm_win32_access()332 …if(!AccessCheck((PSECURITY_DESCRIPTOR)psec_desc, TWG(impersonation_token), desired_access, &gen_ma… in tsrm_win32_access()338 if(desired_access == (FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS)) { in tsrm_win32_access()342 else if(desired_access == FILE_GENERIC_WRITE) { in tsrm_win32_access()345 } else if (desired_access == (FILE_GENERIC_READ | FILE_GENERIC_WRITE)) { in tsrm_win32_access()
Completed in 5 milliseconds