Share via


CTransformInputPin Class (Windows Embedded CE 6.0)

1/6/2010

Ee495303.d9152231-fcd0-4bf4-a976-aafac2147c5a(en-US,WinEmbedded.60).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

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

DirectShow Classes