KSSTREAM_SEGMENT structure (ksproxy.h)

The KSSTREAM_SEGMENT structure contains information that describes an I/O operation occurring on a stream.

Syntax

typedef struct _KSSTREAM_SEGMENT {
  IKsInterfaceHandler *KsInterfaceHandler;
  IKsDataTypeHandler  *KsDataTypeHandler;
  KSIOOPERATION       IoOperation;
  HANDLE              CompletionEvent;
} *PKSSTREAM_SEGMENT, KSSTREAM_SEGMENT;

Members

KsInterfaceHandler

Pointer to a IKsInterfaceHandler interface for the I/O operation.

KsDataTypeHandler

Pointer to a IKsDataTypeHandler interface for the I/O operation.

IoOperation

Value that specifies the type of I/O operation. This value can be one of the following values from the KSIOOPERATION enumerated type:

Value Description
KsIoOperation_Write Write data to stream.
KsIoOperation_Read Read data from stream.

CompletionEvent

Handle to an event that is used to signal that the I/O operation completed.

Requirements

Requirement Value
Header ksproxy.h (include Ksproxy.h)

See also

IKsDataTypeHandler

IKsInterfaceHandler

IKsInterfaceHandler::KsCompleteIo

IKsInterfaceHandler::KsProcessMediaSamples

IKsPin::KsMediaSamplesCompleted