|Microsoft DirectX 9.0|
The CompleteConnect method completes a pin connection.
HRESULT CompleteConnect( PIN_DIRECTION direction, IPin *pReceivePin );
Member of the PIN_DIRECTION enumerated type, specifying which pin on the filter is making the connection.
Pointer to the IPin interface of the other pin in this connection attempt.
Returns an HRESULT. Possible values include those shown in the following table.
|VFW_E_NOT_IN_GRAPH||The filter is not in a filter graph.|
This method overrides the CTransformFilter::CompleteConnect method.
The behavior of the filter depends on the order of the pin connections:
The filter performs all pin reconnections by calling the CBaseFilter::ReconnectPin method. The ReconnectPin method, in turn, calls the IFilterGraph2::ReconnectEx method on the filter graph manager.