IPortEvents::AddEventToEventList method (portcls.h)

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

Syntax

void AddEventToEventList(
  [in] PKSEVENT_ENTRY EventEntry
);

Parameters

[in] EventEntry

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

Return value

None

Remarks

This method is used by a miniport driver's to add events to the event list that is maintained by the associated port object. The miniport driver's event handler typically calls this method in response to a PCEVENT_VERB_ADD request after the handler has validated support for the event being requested.

Requirements

Requirement Value
Target Platform Universal
Header portcls.h (include Portcls.h)
IRQL PASSIVE_LEVEL

See also

EventHandler

IPortEvents

IPortEvents::GenerateEventList

KSEVENT_ENTRY