CSource::GetPin

 
Microsoft DirectShow 9.0

CSource::GetPin

The GetPin method retrieves a pin. This method implements the pure virtual CBaseFilter::GetPin method.

Syntax

  CBasePin *GetPin(
    int n
);

Parameters

n

Number of the specified pin.

Return Value

Returns the pointer to the CBasePin object that implements the pin, or NULL if the index is out of range.

Requirements

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

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

See Also