Partager via


CTransformOutputPin Class

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Aa930672.52b66deb-6d1e-4ee2-b948-fc20d9ebf230(en-us,MSDN.10).gif

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

Typically, you can create objects of a class derived from CTransformFilter without modifying the CTransformOutputPin class.

To override this class and derive a class from CTransformFilter, use the class and then 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.

Public Data Members

Member Description

m_pPosition

Pointer to a CPosPassThru object that implements the IMediaPosition interface to pass media position commands on to the upstream filter.

Member Functions

Member function Description

CTransformOutputPin

Constructs a CTransformOutputPin 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.

CompleteConnect

Informs the derived class when the connection process has completed.

DecideBufferSize

Determines the number and size of buffers required.

GetMediaType

Returns the media type that the output pin uses.

SetMediaType

Informs the derived class when the media type is established for the connection.

Implemented IQualityControl Methods

Method Description

Notify

Receives a quality-control notification, typically from a downstream filter. This method is inherited from the IQualityControl interface through the CBasePin class.

Implemented IPin Methods

Method Description

QueryId

Retrieves an identifier for the pin.

Implemented INonDelegatingUnknown Methods

Method Description

NonDelegatingQueryInterface

Returns an interface and increments the reference count.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 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