CTransformInputPin class

ctransforminputpin class hierarchy

The CTransformInputPin class implements an input pin that is used by the CTransformFilter class.

Typically, you do not need to derive from this class. Most of the methods in this class call corresponding methods on the CTransformFilter class, which you can override. If you derive from this class, you must override the filter's CTransformFilter::GetPin method to create instances of your derived class.

Protected Member Variables Description
m_pTransformFilter Pointer to the owning filter.
Public Methods Description
CTransformInputPin Constructor method.
CheckConnect Determines whether a pin connection is suitable.
BreakConnect Releases the pin from a connection.
CompleteConnect Completes a connection to another pin.
CheckMediaType Determines if the pin accepts a specific media type.
SetMediaType Sets the media type for the connection.
CheckStreaming Determines whether the pin can accept samples. Virtual.
CurrentMediaType Retrieves the media type for the current pin connection.
IPin Methods Description
QueryId Retrieves an identifier for the pin.
EndOfStream Notifies the pin that no additional data is expected.
BeginFlush Begins a flush operation.
EndFlush Ends a flush operation.
NewSegment Notifies the pin that media samples received after this call are grouped as a segment.
IMemInputPin Methods Description
Receive Receives the next media sample in the stream.


Transfrm.h (include Streams.h)
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)