transmit CreateOptions and CreateDisposition to Irp

svn path=/trunk/; revision=165
This commit is contained in:
jean 1999-01-13 15:49:07 +00:00
parent 2d3181f734
commit 455be0fece

View file

@ -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)
{