mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[AFD]
- It is legal to send a NULL event object pointer to AFD (this is sent by msafd to cancel an existing event select) svn path=/trunk/; revision=47651
This commit is contained in:
parent
88c29ff4f2
commit
d19620d1ab
|
@ -296,8 +296,11 @@ AfdEventSelect( PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
|||
FCB->EventSelect = NULL;
|
||||
else
|
||||
FCB->EventSelectTriggers = EventSelectInfo->Events;
|
||||
} else
|
||||
Status = STATUS_INVALID_PARAMETER;
|
||||
} else {
|
||||
FCB->EventSelect = NULL;
|
||||
FCB->EventSelectTriggers = 0;
|
||||
Status = STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
AFD_DbgPrint(MID_TRACE,("Returning %x\n", Status));
|
||||
|
||||
|
|
Loading…
Reference in a new issue