// ks.h
KSDDKAPI NTSTATUS KsDefaultAddEventHandler(
[in] PIRP Irp,
[in] PKSEVENTDATA EventData,
[in, out] PKSEVENT_ENTRY EventEntry
);
View the official Windows Driver Kit DDI reference
No description available.
The KsDefaultAddEventHandler function is a default routine to handle event 'add' requests.
Irp
[in]The event IRP. This contains the object into which the event is inserted.
EventData
[in]A pointer to a KSEVENTDATA structure that describes an event notification method.
EventEntry
[in, out]The event entry that is to be inserted into the object's event list. The object is determined by Irp.
Returns the success or failure of adding the event into the object's event list.
KsDefaultAddEventHandler determines the relevant object from Irp and adds the specified event to the object's event list.
This is functionally equivalent to KsAddEvent (or KsXxxAddEvent, see below) for the object that is associated with Irp. Use KsDefaultAddEventHandler from a minidriver-specified AddEvent handler to insert the event into the object's event list.