Share via


CTransformFilter::GetPin (Compact 2013)

3/26/2014

Retrieves a pin for a specified index.

Syntax

virtual CBasePin *GetPin(
  int n
);

Parameters

  • n
    Index of the pin to return.

Return Value

Returns a pointer to a CBasePin object.

Remarks

This member function overrides the CBaseFilter::GetPin member function and need not be overridden unless one or more of the transform pin classes (CTransformInputPin or CTransformOutputPin) are overridden. Upon successful return, both pins are valid.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CTransformFilter Class