Partager via


CBaseRenderer::GetPinCount (Compact 2013)

3/26/2014

Retrieves the number of input pins supported.

Syntax

virtual int GetPinCount(void);

Parameters

None.

Return Value

The default implementation returns one, because only one pin is supported. Override to support more than one pin.

Because the base renderer class is designed for single-pin operation, considerably more of the base class functionality must be changed to make a multipin renderer.

Remarks

This member function overrides CBaseFilter::GetPinCount.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseRenderer Class