Microsoft Windows CE 3.0  

CTransInPlaceInputPin Class

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The CTransInPlaceInputPinclass 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::InputPinmember function returns a pointer to CTransInPlaceInputPinobject.

Typically, you can create objects of a class derived from CTransInPlaceInputPinwithout modifying this class. That is, you can usually override member functions in the CTransInPlaceFilterclass that member functions of the CTransInPlaceInputPinclass 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::GetPinmember function to create pins of your derived class.

Protected Data Members

m_bReadOnly Flag to indicate if the stream is read-only.
m_pTIPFilter Pointer to the CTransInPlaceFilterobject that owns this pin.

Member Functions

CTransInPlaceInputPin Constructs a CTransInPlaceInputPinobject.
PeekAllocator Retrieves a pointer to the default allocator.
ReadOnly Retrieves m_bReadOnlyto indicate whether a stream is read-only.

Overridable Member Functions

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

Implemented IPin Methods

EnumMediaTypes Provides a media type enumerator from the downstream filter.

Implemented IMemInputPin Methods

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