CTransInPlaceInputPin Class (Windows CE 5.0)

Send Feedback

ms939098.tsip01(en-us,MSDN.10).gif

This class implements the input pin of a transform-inplace filter (CTransInPlaceFilter). This is part of a transform filter that transforms data in place rather than making a copy of it. The CTransInPlaceFilter::InputPin member function returns a pointer to CTransInPlaceInputPin object.

Typically, you can create objects of a class derived from CTransInPlaceInputPin without modifying this class. That is, you can usually override member functions in the CTransInPlaceFilter class that member functions of the CTransInPlaceInputPin class call, and not have to derive your own classes for either of the pin classes.

However, if you want to override this class and derive your filter class from CTransInPlaceFilter, you must override the CTransInPlaceFilter::GetPin member function to create pins of your derived class.

Protected Data Members

Member Description
m_bReadOnly Flag to indicate if the stream is read-only.
m_pTIPFilter Pointer to the CTransInPlaceFilter object that owns this pin.

Member Functions

Member function Description
CTransInPlaceInputPin Constructs a CTransInPlaceInputPin object.
PeekAllocator Retrieves a pointer to the default allocator.
ReadOnly Retrieves m_bReadOnly to indicate whether a stream is read-only.

Overrideable Member Functions

Member function Description
CheckMediaType Determines if the pin can use a specified media type.

Implemented IPin Methods

Method Description
EnumMediaTypes Provides a media type enumerator from the downstream filter.

Implemented IMemInputPin Methods

Method Description
GetAllocator Retrieves the upstream allocator.
GetAllocatorRequirements Passes requests for allocator requirements downstream.
NotifyAllocator Receives notification of which allocator the connected output pin will use.

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.