IPin::Connect method. The Connect method connects the pin to another pin. Applications should not call this method. Use IGraphBuilder methods instead.
msdn.microsoft.com