|Microsoft DirectX 9.0|
The GetPin method retrieves a pin. The CEnumPins class calls this method to enumerate pins on the filter.
virtual CBasePin *GetPin( int n ) PURE;
Number of the specified pin.
Returns a pointer to the CBasePin object that implements the pin.
You must implement this pure virtual method in your derived class. Return a pointer to the nth pin on this filter, indexed from zero. You can choose an arbitrary indexing order, as long as the ordering is fixed. If the filter adds or deletes pins, or the ordering changes for some other reason at run time, call the CBaseFilter::IncrementPinVersion method.