Microsoft DirectX 9.0

CSource::FindPinNumber

The FindPinNumber method retrieves the number of a specified pin on the filter.

Syntax

int FindPinNumber(
    IPin *iPin
);

Parameters

iPin

Pointer to the pin's IPin interface.

Return Value

Returns the pin number, or –1 if the pin is not found on this filter. The first pin is numbered zero.

See Also