mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 15:36:24 +00:00
- IopCompleteRequest: Remove the hack related to Irp->UserEvent, fixed by 36047
svn path=/trunk/; revision=36251
This commit is contained in:
parent
2d4aadb83f
commit
af0b1eb575
1 changed files with 0 additions and 8 deletions
|
@ -345,18 +345,10 @@ IopCompleteRequest(IN PKAPC Apc,
|
|||
{
|
||||
/* Check if this is an Asynch API */
|
||||
if (!(Irp->Flags & IRP_SYNCHRONOUS_API))
|
||||
{
|
||||
/* HACK */
|
||||
if (*((PULONG)(Irp->UserEvent) - 1) != 0x87878787)
|
||||
{
|
||||
/* Dereference the event */
|
||||
ObDereferenceObject(Irp->UserEvent);
|
||||
}
|
||||
else
|
||||
{
|
||||
DPRINT1("Not an executive event -- should not be dereferenced\n");
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Now, if this is a Synch I/O File Object, then this event is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue