Share via


CTransformFilter::GetPinCount

 
Microsoft DirectShow 9.0

CTransformFilter::GetPinCount

The GetPinCount method retrieves the number of pins on the filter.

Syntax

  virtual int GetPinCount(void);

Return Value

Returns 2.

Remarks

This method overrides the CBaseFilter::GetPinCount method. The CTransformFilter class supports exactly one input pin and one output pin.

Requirements

**  Header:** Declared in Transfrm.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also