mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- IopCompleteRequest: Remove the hack related to Irp->UserEvent, fixed by 36047
svn path=/trunk/; revision=36251
This commit is contained in:
@@ -346,16 +346,8 @@ 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");
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user