From 455be0fecebf9e5e410a808d78516ec1005ab070 Mon Sep 17 00:00:00 2001 From: jean Date: Wed, 13 Jan 1999 15:49:07 +0000 Subject: [PATCH] transmit CreateOptions and CreateDisposition to Irp svn path=/trunk/; revision=165 --- reactos/ntoskrnl/io/create.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/ntoskrnl/io/create.c b/reactos/ntoskrnl/io/create.c index 3e3aef4248f..cd70ab3db29 100644 --- a/reactos/ntoskrnl/io/create.c +++ b/reactos/ntoskrnl/io/create.c @@ -209,6 +209,8 @@ NTSTATUS ZwCreateFile(PHANDLE FileHandle, StackLoc->Control = 0; StackLoc->DeviceObject = DeviceObject; StackLoc->FileObject=FileObject; + StackLoc->Parameters.Create.Options=CreateOptions&FILE_VALID_OPTION_FLAGS; + StackLoc->Parameters.Create.Options|=CreateDisposition<<24; Status = IoCallDriver(DeviceObject,Irp); if (Status==STATUS_PENDING) {