Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The KsAddEvent function adds an event to Object's event list.
Syntax
void KsAddEvent(
[in] PVOID Object,
[in] PKSEVENT_ENTRY EventEntry
);
Parameters
[in] Object
The object to which to add the event.
[in] EventEntry
A pointer to an KSEVENT_ENTRY structure describing the event to add to Object.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions. |
Target Platform | Universal |
Header | ks.h (include Ks.h) |
Library | Ks.lib |
IRQL | PASSIVE_LEVEL |