KSEVENT_ENTRY 结构 (ks.h)

内核流式处理子系统使用 KSEVENT_ENTRY 结构来描述应如何触发事件。

语法

typedef struct _KSEVENT_ENTRY {
  LIST_ENTRY         ListEntry;
  PVOID              Object;
  union {
    PKSDPC_ITEM    DpcItem;
    PKSBUFFER_ITEM BufferItem;
  };
  PKSEVENTDATA       EventData;
  ULONG              NotificationType;
  const KSEVENT_SET  *EventSet;
  const KSEVENT_ITEM *EventItem;
  PFILE_OBJECT       FileObject;
  ULONG              SemaphoreAdjustment;
  ULONG              Reserved;
  ULONG              Flags;
} KSEVENT_ENTRY, *PKSEVENT_ENTRY;

成员

ListEntry

Object

DpcItem

BufferItem

EventData

NotificationType

EventSet

EventItem

FileObject

SemaphoreAdjustment

Reserved

Flags

注解

不提供 AVStrMiniRemoveEvent 处理程序的驱动程序应将此视为不透明的数据结构。

有关详细信息,请参阅 AVStream 中的事件处理

要求

要求
Header ks.h (包括 Ks.h)