Microsoft DirectX 8.1 (C++) |
The CompleteConnect method completes a connection to an input pin.
Syntax
virtual HRESULT CompleteConnect(
IPin *pReceivePin
);
Parameters
pReceivePin
Pointer to the input pin's IPin interface.
Return Value
Returns S_OK if successful, or an HRESULT value indicating the cause of the failure.
Remarks
This method overrides the CBaseOutputPin::CompleteConnect method. To support dynamic reconnections, this method commits the allocator if the filter is active. In the base class, connections can occur only when the filter is stopped, so the allocator is always committed in the CBaseOutputPin::Active method.
See Also