Compartilhar via


CTransformFilter::GetPinCount (Compact 2013)

3/26/2014

Retrieves the number of pins on the filter.

Syntax

virtual int GetPinCount( );

Parameters

None.

Return Value

Returns 2. If you override this class to support more pins, this member function returns the total number of pins on the filter.

Remarks

This member function overrides the CBaseFilter::GetPinCount member function. The CTransformFilter class supports only one input pin and one output pin.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CTransformFilter Class