Searched refs:desired_access (Results 1 – 1 of 1) sorted by relevance
201 DWORD sec_desc_length = 0, desired_access = 0, granted_access = 0; in tsrm_win32_access() local293 desired_access = FILE_GENERIC_READ; in tsrm_win32_access()299 desired_access = FILE_GENERIC_WRITE; in tsrm_win32_access()305 desired_access = FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS; in tsrm_win32_access()311 desired_access = FILE_GENERIC_READ | FILE_GENERIC_WRITE; in tsrm_win32_access()329 MapGenericMask(&desired_access, &gen_map); in tsrm_win32_access()331 …if(!AccessCheck((PSECURITY_DESCRIPTOR)psec_desc, TWG(impersonation_token), desired_access, &gen_ma… in tsrm_win32_access()337 if(desired_access == (FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS)) { in tsrm_win32_access()341 else if(desired_access == FILE_GENERIC_WRITE) { in tsrm_win32_access()344 } else if (desired_access == (FILE_GENERIC_READ | FILE_GENERIC_WRITE)) { in tsrm_win32_access()
Completed in 6 milliseconds