Previous Next

IPortEvents::AddEventToEventList

The AddEventToEventList method adds an event to the port driver's event list.

VOID
  AddEventToEventList(
    IN PKSEVENT_ENTRY  EventEntry
    );

Parameters

EventEntry
Pointer to the event entry that describes the event. This is an opaque system structure of type KSEVENT_ENTRY.

Return Value

None

Headers

Declared in portcls.h. Include portcls.h.

Comments

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.

See Also

KSEVENT_ENTRY, IPortEvents::GenerateEventList, EventHandler