Condividi tramite


Deriving from CBasePin

 
Microsoft DirectShow 9.0

Deriving from CBasePin

To implement a pin using CBasePin, you must derive a new class from the base class and override several of its methods. You must override the following methods:

You will probably need to override these additional methods:

Finally, you must must implement the IPin::BeginFlush and IPin::EndFlush methods.

Some of these methods are implemented in base classes that derive from CBasePin, such as CBaseInputPin and CBaseOutputPin.