KsAddEvent - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

void KsAddEvent(
  [in] PVOID          Object,
  [in] PKSEVENT_ENTRY EventEntry
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksaddevent)

KsAddEvent function

Description

The KsAddEvent function adds an event to Object's event list.

Parameters

Object [in]

The object to which to add the event.

EventEntry [in]

A pointer to an KSEVENT_ENTRY structure describing the event to add to Object.

Remarks

Minidrivers typically do not call this routine directly; instead, they use KsFilterAddEvent or KsPinAddEvent.

After events have been added to the event list, these events can be generated as data events by a KsXxxGenerateEvents call. Typecasting of the object (a filter or pin) to PVOID must be provided by the caller.

See also

KSEVENT_ENTRY

KsDefaultAddEventHandler

KsFilterAddEvent

KsGenerateEvents

KsPinAddEvent