Share via


CTransformOutputPin Class

The CTransformOutputPin 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

m_pTransformFilter Pointer to the owning CTransformFilter object.

Public Data Members

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

Member Functions

CTransformOutputPin Constructs a CTransformOutputPin object.
CurrentMediaType Retrieves the media type currently assigned to the filter.

Overridable Member Functions

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

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

QueryId Retrieves an identifier for the pin.

Implemented INonDelegatingUnknown Methods

NonDelegatingQueryInterface Returns an interface and increments the reference count.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.