mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
transmit CreateOptions and CreateDisposition to Irp
svn path=/trunk/; revision=165
This commit is contained in:
parent
2d3181f734
commit
455be0fece
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue