kernel32: Propagate the FILE_FLAG_NO_BUFFERING CreateFile flag to ntdll.
This commit is contained in:
parent
2d6366fc29
commit
db1b9a9f62
|
@ -1385,6 +1385,8 @@ HANDLE WINAPI CreateFileW( LPCWSTR filename, DWORD access, DWORD sharing,
|
||||||
options |= FILE_DELETE_ON_CLOSE;
|
options |= FILE_DELETE_ON_CLOSE;
|
||||||
access |= DELETE;
|
access |= DELETE;
|
||||||
}
|
}
|
||||||
|
if (attributes & FILE_FLAG_NO_BUFFERING)
|
||||||
|
options |= FILE_NO_INTERMEDIATE_BUFFERING;
|
||||||
if (!(attributes & FILE_FLAG_OVERLAPPED))
|
if (!(attributes & FILE_FLAG_OVERLAPPED))
|
||||||
options |= FILE_SYNCHRONOUS_IO_ALERT;
|
options |= FILE_SYNCHRONOUS_IO_ALERT;
|
||||||
if (attributes & FILE_FLAG_RANDOM_ACCESS)
|
if (attributes & FILE_FLAG_RANDOM_ACCESS)
|
||||||
|
|
Loading…
Reference in New Issue