[ros-diffs] [hbirr] 14465: Initialized the event with the object
instead of the handle.
hbirr at svn.reactos.com
hbirr at svn.reactos.com
Sun Apr 3 12:05:02 CEST 2005
Initialized the event with the object instead of the handle.
Modified: trunk/reactos/ntoskrnl/io/rw.c
_____
Modified: trunk/reactos/ntoskrnl/io/rw.c
--- trunk/reactos/ntoskrnl/io/rw.c 2005-04-03 09:16:20 UTC (rev
14464)
+++ trunk/reactos/ntoskrnl/io/rw.c 2005-04-03 10:05:00 UTC (rev
14465)
@@ -130,7 +130,7 @@
return NT_SUCCESS(Status) ? STATUS_INSUFFICIENT_RESOURCES :
Status;
}
- Irp->UserEvent = Event;
+ Irp->UserEvent = EventObject;
if (FileObject->Flags & FO_SYNCHRONOUS_IO)
{
/* synchronous irp's are queued to requestor thread's irp
cancel/cleanup list */
@@ -310,7 +310,7 @@
return NT_SUCCESS(Status) ? STATUS_INSUFFICIENT_RESOURCES :
Status;
}
- Irp->UserEvent = Event;
+ Irp->UserEvent = EventObject;
if (FileObject->Flags & FO_SYNCHRONOUS_IO)
{
/* synchronous irp's are queued to requestor thread's irp
cancel/cleanup list */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050403/d9cb0240/attachment.html
More information about the Ros-diffs
mailing list