// ks.h
typedef struct {
ULONG Size;
ULONG Flags;
union {
HANDLE ObjectHandle;
PVOID ObjectPointer;
};
PVOID Reserved;
KSEVENT Event;
KSEVENTDATA EventData;
} KSRELATIVEEVENT;
View the official Windows Driver Kit DDI referenceNo description available.
The KSPROPERTY_CONNECTION_STARTAT property is passed a KSRELATIVEEVENT structure.
SizeSpecifies the inclusive size of the structure, including any event specific data appended to the EventData member.
FlagsSpecifies what type of object is specified in the ObjectHandle and ObjectPointer union.
ObjectHandleSpecifies the handle of the object supporting the event to be used if the Flags member contains the KSRELATIVEEVENT_FLAG_HANDLE flag.
ObjectPointerSpecifies a pointer to the object supporting the event to be used if the Flags member contains the KSRELATIVEEVENT_FLAG_POINTER flag. This is valid only for kernel-mode clients.
ReservedReserved and set to zero.
EventA KSEVENT structure that contains the event to be used.
EventDataA KSEVENTDATA structure that specifies the header for the event-specific data. The header itself is not actually used except as a starting point to access the event-specific data, and must be initialized to zero.