Alexandre Julliard : kernel32: Propagate the FILE_FLAG_NO_BUFFERING CreateFile flag to ntdll.
Alexandre Julliard
julliard at winehq.org
Sat Mar 15 05:53:46 CDT 2008
Module: wine
Branch: master
Commit: db1b9a9f62dd4ec0e5be017aef91f6cf8c002b87
URL: http://source.winehq.org/git/wine.git/?a=commit;h=db1b9a9f62dd4ec0e5be017aef91f6cf8c002b87
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Mar 14 20:30:53 2008 +0100
kernel32: Propagate the FILE_FLAG_NO_BUFFERING CreateFile flag to ntdll.
---
dlls/kernel32/file.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c
index 8c6f404..0498dc7 100644
--- a/dlls/kernel32/file.c
+++ b/dlls/kernel32/file.c
@@ -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)
More information about the wine-cvs
mailing list