The AddEventToEventList method adds an event to the port driver's event list.
VOID
AddEventToEventList(
IN PKSEVENT_ENTRY EventEntry
);
None
Declared in portcls.h. Include portcls.h.
This method is used by miniport drivers to add events to the event list that is maintained by the associated port object. This is typically called by the miniport driver's event handler in response to a PCEVENT_VERB_ADD request after the handler has validated support for the event being requested.
Callers of AddEventToEventList must run at IRQL PASSIVE_LEVEL.