From 48908e14ccbe6fd2068b1920a8a6b7c4314585d1 Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Sat, 26 Jan 2002 06:20:16 +0000 Subject: [PATCH] Fixed IoCreateFile to recognize the FILE_NO_INTERMEDIATE_BUFFERING flag svn path=/trunk/; revision=2556 --- reactos/ntoskrnl/io/create.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/io/create.c b/reactos/ntoskrnl/io/create.c index 6ce97406028..8b5da8a2d4e 100644 --- a/reactos/ntoskrnl/io/create.c +++ b/reactos/ntoskrnl/io/create.c @@ -1,4 +1,4 @@ -/* $Id: create.c,v 1.52 2002/01/08 00:49:00 dwelch Exp $ +/* $Id: create.c,v 1.53 2002/01/26 06:20:16 phreak Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -344,7 +344,10 @@ IoCreateFile(OUT PHANDLE FileHandle, { FileObject->Flags |= FO_SYNCHRONOUS_IO; } - + + if( CreateOptions & FILE_NO_INTERMEDIATE_BUFFERING ) + FileObject->Flags |= FO_NO_INTERMEDIATE_BUFFERING; + SecurityContext.SecurityQos = NULL; /* ?? */ SecurityContext.AccessState = NULL; /* ?? */ SecurityContext.DesiredAccess = DesiredAccess;