[NTOSKRNL]

. Revert 46550: Windows does not set this flag. ReactOS shouldn't either. Setting UserEvent is already enough in this case.

svn path=/trunk/; revision=46563
This commit is contained in:
Aleksey Bragin 2010-03-29 08:51:12 +00:00
parent c5e2c557f7
commit 09ab0eb733

View file

@ -966,12 +966,9 @@ IoBuildSynchronousFsdRequest(IN ULONG MajorFunction,
IoStatusBlock );
if (!Irp) return NULL;
/* Associate the caller's event object with this IRP */
/* Set the Event which makes it Syncronous */
Irp->UserEvent = Event;
/* Set the synchronous flag */
Irp->Flags |= IRP_SYNCHRONOUS_API;
/* Sync IRPs are queued to requestor thread's irp cancel/cleanup list */
IoQueueThreadIrp(Irp);
return Irp;