Searched refs:desired_access (Results 1 – 1 of 1) sorted by relevance
207 DWORD sec_desc_length = 0, desired_access = 0, granted_access = 0; in tsrm_win32_access() local302 desired_access = FILE_GENERIC_READ; in tsrm_win32_access()308 desired_access = FILE_GENERIC_WRITE; in tsrm_win32_access()314 desired_access = FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS; in tsrm_win32_access()320 desired_access = FILE_GENERIC_READ | FILE_GENERIC_WRITE; in tsrm_win32_access()338 MapGenericMask(&desired_access, &gen_map); in tsrm_win32_access()340 …if(!AccessCheck((PSECURITY_DESCRIPTOR)psec_desc, TWG(impersonation_token), desired_access, &gen_ma… in tsrm_win32_access()346 if(desired_access == (FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS)) { in tsrm_win32_access()350 else if(desired_access == FILE_GENERIC_WRITE) { in tsrm_win32_access()353 } else if (desired_access == (FILE_GENERIC_READ | FILE_GENERIC_WRITE)) { in tsrm_win32_access()
Completed in 8 milliseconds