Microsoft Windows CE 3.0  

Override Pin Member Functions

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.

If you derived your filter class from the transform classes and want more than one input or output pin, you must override the pin class (for example, CTransformInputPinor CTransformOutputPin). If you override the pin class, you must also override the GetPinmember function of CTransformFilteror CTransInPlaceFilter, so that you can create pin objects from your derived classes. If you override one of the pin classes (for example, CTransformInputPin) and override GetPinto create the pin object, you must also override GetPinto create the other pin object of the same base class (for example, CTransformOutputPin).

If you want more than one input or output pin, it is often simpler to derive your filter from CBaseFilterrather than from one of the transform classes.

 Last updated on Tuesday, May 18, 2004

© 2004 Microsoft Corporation. All rights reserved.