[NTOSKRNL]

Init event before passing it to the IRP.
Fixes issues on IRP completion

svn path=/trunk/; revision=63020
This commit is contained in:
Pierre Schweitzer 2014-04-27 13:46:21 +00:00
parent 1a4b004293
commit 2f3b278836

View file

@ -662,6 +662,9 @@ IopGetFileInformation(IN PFILE_OBJECT FileObject,
return STATUS_INSUFFICIENT_RESOURCES;
}
/* Init event */
KeInitializeEvent(&Event, SynchronizationEvent, FALSE);
/* Setup the IRP */
Irp->UserIosb = &IoStatusBlock;
Irp->UserEvent = &Event;