Small fix.

svn path=/trunk/; revision=15237
This commit is contained in:
Alex Ionescu 2005-05-12 11:54:08 +00:00
parent ade7456218
commit 5fe9818563

View file

@ -1201,8 +1201,11 @@ NtDeviceIoControlFile(IN HANDLE DeviceHandle,
/* Set some extra settings */
Irp->Tail.Overlay.OriginalFileObject = FileObject;
Irp->RequestorMode = PreviousMode;
Irp->Overlay.AsynchronousParameters.UserApcRoutine = UserApcRoutine;
Irp->Overlay.AsynchronousParameters.UserApcContext = UserApcContext;
StackPtr = IoGetNextIrpStackLocation(Irp);
StackPtr->FileObject = FileObject;
/* Call the Driver */
Status = IoCallDriver(DeviceObject, Irp);