IKsPin interface (ksproxy.h)
The IKsPin interface provides methods that control and retrieve information about a pin.
The IID for this interface is IID_IKsPin.
Inheritance
The IKsPin interface inherits from the IUnknown interface.
Methods
The IKsPin interface has these methods.
IKsPin::KsCreateSinkPinHandle The KsCreateSinkPinHandle method creates a pin handle and stores it in the KS pin object. |
IKsPin::KsDecrementPendingIoCount The KsDecrementPendingIoCount method decrements the number of input/output (I/O) operations that are in progress on a pin. |
IKsPin::KsDeliver The KsDeliver method delivers a media sample from an output pin to an input pin, continues an I/O operation by retrieving the next buffer from an allocator, and submits the buffer to the associated device. |
IKsPin::KsGetCurrentCommunication The KsGetCurrentCommunication method retrieves the current communication direction, interface, and medium of a pin. |
IKsPin::KsIncrementPendingIoCount The KsIncrementPendingIoCount method increments the number of input/output (I/O) operations that are in progress on a pin. |
IKsPin::KsMediaSamplesCompleted The KsMediaSamplesCompleted method informs a pin that a stream segment completed. |
IKsPin::KsPeekAllocator The KsPeekAllocator method returns a pointer to an IMemAllocator interface for a pin's assigned allocator. |
IKsPin::KsPropagateAcquire The KsPropagateAcquire method directs all the pins on the filter to attain the Acquire state. |
IKsPin::KsQueryInterfaces The KsQueryInterfaces method retrieves interfaces that a pin supports. |
IKsPin::KsQueryMediums The KsQueryMediums method retrieves mediums that a pin supports. |
Remarks
An interface handler (IKsInterfaceHandler) uses many of the IKsPin methods to route media samples of a particular media type.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | ksproxy.h (include Ksproxy.h) |