mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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->Control = 0;
|
||||||
StackLoc->DeviceObject = DeviceObject;
|
StackLoc->DeviceObject = DeviceObject;
|
||||||
StackLoc->FileObject=FileObject;
|
StackLoc->FileObject=FileObject;
|
||||||
|
StackLoc->Parameters.Create.Options=CreateOptions&FILE_VALID_OPTION_FLAGS;
|
||||||
|
StackLoc->Parameters.Create.Options|=CreateDisposition<<24;
|
||||||
Status = IoCallDriver(DeviceObject,Irp);
|
Status = IoCallDriver(DeviceObject,Irp);
|
||||||
if (Status==STATUS_PENDING)
|
if (Status==STATUS_PENDING)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue