mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
Small fix.
svn path=/trunk/; revision=15237
This commit is contained in:
parent
ade7456218
commit
5fe9818563
1 changed files with 3 additions and 0 deletions
|
@ -1201,9 +1201,12 @@ NtDeviceIoControlFile(IN HANDLE DeviceHandle,
|
||||||
/* Set some extra settings */
|
/* Set some extra settings */
|
||||||
Irp->Tail.Overlay.OriginalFileObject = FileObject;
|
Irp->Tail.Overlay.OriginalFileObject = FileObject;
|
||||||
Irp->RequestorMode = PreviousMode;
|
Irp->RequestorMode = PreviousMode;
|
||||||
|
Irp->Overlay.AsynchronousParameters.UserApcRoutine = UserApcRoutine;
|
||||||
|
Irp->Overlay.AsynchronousParameters.UserApcContext = UserApcContext;
|
||||||
StackPtr = IoGetNextIrpStackLocation(Irp);
|
StackPtr = IoGetNextIrpStackLocation(Irp);
|
||||||
StackPtr->FileObject = FileObject;
|
StackPtr->FileObject = FileObject;
|
||||||
|
|
||||||
|
|
||||||
/* Call the Driver */
|
/* Call the Driver */
|
||||||
Status = IoCallDriver(DeviceObject, Irp);
|
Status = IoCallDriver(DeviceObject, Irp);
|
||||||
if (Status == STATUS_PENDING)
|
if (Status == STATUS_PENDING)
|
||||||
|
|
Loading…
Reference in a new issue