. 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
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;