mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +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 */
|
||||
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);
|
||||
if (Status == STATUS_PENDING)
|
||||
|
|
Loading…
Reference in a new issue