CTransformInputPin Class (Windows CE 5.0)

Send Feedback

ms939061.tfrm01(en-us,MSDN.10).gif

This class implements the input pin of a simple transform filter. It is the class assigned to the m_pInput data member of the CTransformFilter class.

Typically, you can create objects derived from CTransformFilter without modifying the CTransformInputPin class. That is, you can usually override the member functions in CTransformFilter that are called by member functions of this class. You need not derive your own classes for either of the pin classes.

However, to override this class and have your filter class derived from CTransformFilter, override the CTransformFilter::GetPin member function to create pins of your derived class.

Protected Data Members

Member Description
m_pTransformFilter Pointer to the owning CTransformFilter object.

Member Functions

Member function Description
CTransformInputPin Constructs a CTransformInputPin object.
CurrentMediaType Retrieves the media type currently assigned to the filter.

Overrideable Member Functions

Member function Description
BreakConnect Informs the derived class when the connection is broken.
CheckConnect Informs the derived class when the connection process is starting.
CheckMediaType Determines if the pin can use a specified media type.
CheckStreaming Verifies conditions for continuing with a streaming operation.
CompleteConnect Informs the derived class when the connection process has completed.
SetMediaType Informs the derived class when the media type is established for the connection.

Implemented IPin Methods

Method Description
BeginFlush Informs the pin to begin a flush operation.
EndFlush Informs the pin to end a flush operation and notifies the pin that it can start accepting data again.
EndOfStream Informs the input pin that no additional data is expected until a new run command is issued.
NewSegment Specifies that samples following this call are grouped as a segment with a given start time, stop time, and rate.
QueryId Retrieves an identifier for the pin.

Implemented IMemInputPin Methods

Method Description
Receive Receives the next block of data from the stream.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.