Share via


CBaseFilter::GetPinCount

 
Microsoft DirectShow 9.0

CBaseFilter::GetPinCount

The GetPinCount method retrieves the number of pins.

Syntax

  virtual int GetPinCount(void) PURE;

Return Value

Returns the number of pins.

Remarks

The derived class must implement this pure virtual method. Return the number of pins that are currently available on this filter. Filters can dynamically create or destroy pins.

Requirements

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

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

See Also