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() local300 desired_access = FILE_GENERIC_READ; in tsrm_win32_access()306 desired_access = FILE_GENERIC_WRITE; in tsrm_win32_access()312 desired_access = FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS; in tsrm_win32_access()318 desired_access = FILE_GENERIC_READ | FILE_GENERIC_WRITE; in tsrm_win32_access()336 MapGenericMask(&desired_access, &gen_map); in tsrm_win32_access()338 …if(!AccessCheck((PSECURITY_DESCRIPTOR)psec_desc, TWG(impersonation_token), desired_access, &gen_ma… in tsrm_win32_access()344 if(desired_access == (FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS)) { in tsrm_win32_access()348 else if(desired_access == FILE_GENERIC_WRITE) { in tsrm_win32_access()351 } else if (desired_access == (FILE_GENERIC_READ | FILE_GENERIC_WRITE)) { in tsrm_win32_access()
Completed in 5 milliseconds