Searched refs:w_right (Results 1 – 1 of 1) sorted by relevance
54 DWORD r_right, w_right; in win32_file_open() local77 w_right = ( a_mode || SDL_strchr(mode,'+') || truncate ) ? GENERIC_WRITE : 0; in win32_file_open()79 if (!r_right && !w_right) /* inconsistent mode */ in win32_file_open()100 h = CreateFile(filenameW, (w_right|r_right), (w_right)? 0 : FILE_SHARE_READ, in win32_file_open()108 h = CreateFile(filename, (w_right|r_right), (w_right)? 0 : FILE_SHARE_READ, in win32_file_open()