kernel32: Propagate the FILE_FLAG_NO_BUFFERING CreateFile flag to ntdll.

This commit is contained in:
Alexandre Julliard 2008-03-14 20:30:53 +01:00
parent 2d6366fc29
commit db1b9a9f62
1 changed files with 2 additions and 0 deletions

View File

@ -1385,6 +1385,8 @@ HANDLE WINAPI CreateFileW( LPCWSTR filename, DWORD access, DWORD sharing,
options |= FILE_DELETE_ON_CLOSE;
access |= DELETE;
}
if (attributes & FILE_FLAG_NO_BUFFERING)
options |= FILE_NO_INTERMEDIATE_BUFFERING;
if (!(attributes & FILE_FLAG_OVERLAPPED))
options |= FILE_SYNCHRONOUS_IO_ALERT;
if (attributes & FILE_FLAG_RANDOM_ACCESS)