Microsoft DirectX 9.0

CBaseRenderer::GetPin

The GetPin method retrieves a pin.

Syntax

virtual CBasePin *GetPin(
    int n
);

Parameters

n

Number of the specified pin. Must be zero.

Return Value

Returns the CBaseRenderer::m_pInputPin pointer.

Remarks

This method implements the CBaseFilter::GetPin method, which is pure virtual in the CBaseFilter class. The filter supports exactly one pin (the input pin). The first time this method is called, it creates the pin as a new CRendererInputPin object.

See Also