// ks.h
typedef struct _KSSTREAM_POINTER {
PVOID Context;
PKSPIN Pin;
PKSSTREAM_HEADER StreamHeader;
PKSSTREAM_POINTER_OFFSET Offset;
KSSTREAM_POINTER_OFFSET OffsetIn;
KSSTREAM_POINTER_OFFSET OffsetOut;
} KSSTREAM_POINTER, *PKSSTREAM_POINTER;
View the official Windows Driver Kit DDI referenceNo description available.
The KSSTREAM_POINTER structure is the basic AVStream pointer into a stream.
ContextA pointer to client-requested context information. The leading edge and trailing edge stream pointers have this member set to NULL. Cloned stream pointers can specify that they wish to have context information via the mechanism described in KsStreamPointerClone.
PinA pointer to the KSPIN structure to which this stream pointer belongs.
StreamHeaderA pointer to the stream header object for the data frame that this stream pointer currently points to. See KSSTREAM_HEADER for more information.
OffsetA pointer to a structure of type KSSTREAM_POINTER_OFFSET. Points to either OffsetIn or OffsetOut depending on whether the pin to which this stream pointer belongs is an input pin or output pin.
OffsetInThis member specifies a structure of type KSSTREAM_POINTER_OFFSET describing the data currently pointed to by the stream pointer.
OffsetOutThis member specifies a structure of type KSSTREAM_POINTER_OFFSET. Use this member to output data on an output pin.
A queue object for a stream has at minimum one hard-defined stream pointer: the leading-edge stream pointer. For more information, see Leading and Trailing Edge Stream Pointers.
For general information about stream pointers, see Stream Pointers.
KsStreamPointerAdvanceOffsetsAndUnlock