Microsoft DirectX 9.0

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.


Header: Declared in Transfrm.h; include Streams.h.

Library: Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

Protected Member Variables  
m_pTransformFilter Pointer to the owning filter.
Public Methods  
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  
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  
Receive Receives the next media sample in the stream.