// ksproxy.h
typedef struct _KSSTREAM_SEGMENT {
IKsInterfaceHandler *KsInterfaceHandler;
IKsDataTypeHandler *KsDataTypeHandler;
KSIOOPERATION IoOperation;
HANDLE CompletionEvent;
} *PKSSTREAM_SEGMENT, KSSTREAM_SEGMENT;
View the official Windows Driver Kit DDI referenceNo description available.
The KSSTREAM_SEGMENT structure contains information that describes an I/O operation occurring on a stream.
KsInterfaceHandlerPointer to a IKsInterfaceHandler interface for the I/O operation.
KsDataTypeHandlerPointer to a IKsDataTypeHandler interface for the I/O operation.
IoOperationValue 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. |
CompletionEventHandle to an event that is used to signal that the I/O operation completed.
IKsInterfaceHandler::KsCompleteIo
IKsInterfaceHandler::KsProcessMediaSamples
IKsPin::KsMediaSamplesCompleted