Share via


CTransformOutputPin Class

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. If you want 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

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

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

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.