KSSTREAM_POINTER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ks-_ksstream_pointer)

_KSSTREAM_POINTER structure

Description

The KSSTREAM_POINTER structure is the basic AVStream pointer into a stream.

Members

Context

A 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.

Pin

A pointer to the KSPIN structure to which this stream pointer belongs.

StreamHeader

A pointer to the stream header object for the data frame that this stream pointer currently points to. See KSSTREAM_HEADER for more information.

Offset

A 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.

OffsetIn

This member specifies a structure of type KSSTREAM_POINTER_OFFSET describing the data currently pointed to by the stream pointer.

OffsetOut

This member specifies a structure of type KSSTREAM_POINTER_OFFSET. Use this member to output data on an output pin.

Remarks

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.

See also

KSSTREAM_HEADER

KSSTREAM_POINTER_OFFSET

KsStreamPointerAdvance

KsStreamPointerAdvanceOffsets

KsStreamPointerAdvanceOffsetsAndUnlock

KsStreamPointerClone

KsStreamPointerDelete

KsStreamPointerLock

KsStreamPointerUnlock