--- trunk/reactos/ntoskrnl/io/device.c 2005-05-12 05:01:23 UTC (rev 15236)
+++ trunk/reactos/ntoskrnl/io/device.c 2005-05-12 11:54:08 UTC (rev 15237)
@@ -1201,8 +1201,11 @@
/* 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);