|Microsoft DirectX 9.0|
The FindPin method retrieves the pin with the specified identifier. This method implements the IBaseFilter::FindPin method.
HRESULT FindPin( LPCWSTR Id, IPin **ppPin );
Pointer to a constant, null-terminated Unicode™ string that identifies the pin.
Address of a variable that receives a pointer to the pin's IPin interface.
Returns one of the following HRESULT values.
|E_POINTER||NULL pointer argument.|
|VFW_E_NOT_FOUND||Could not find a matching pin.|
This method calls the CBasePin::Name method to compare each pin's name against the string specified by the Id parameter.
If the method succeeds, the IPin interface has an outstanding reference count. Be sure to release it when you are done.