Searched refs:desired_access (Results 1 – 1 of 1) sorted by relevance
203 DWORD sec_desc_length = 0, desired_access = 0, granted_access = 0; in tsrm_win32_access() local295 desired_access = FILE_GENERIC_READ; in tsrm_win32_access()301 desired_access = FILE_GENERIC_WRITE; in tsrm_win32_access()307 desired_access = FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS; in tsrm_win32_access()313 desired_access = FILE_GENERIC_READ | FILE_GENERIC_WRITE; in tsrm_win32_access()331 MapGenericMask(&desired_access, &gen_map); in tsrm_win32_access()333 …if(!AccessCheck((PSECURITY_DESCRIPTOR)psec_desc, TWG(impersonation_token), desired_access, &gen_ma… in tsrm_win32_access()339 if(desired_access == (FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS)) { in tsrm_win32_access()343 else if(desired_access == FILE_GENERIC_WRITE) { in tsrm_win32_access()346 } else if (desired_access == (FILE_GENERIC_READ | FILE_GENERIC_WRITE)) { in tsrm_win32_access()
Completed in 6 milliseconds