Share via


CBasePin::CompleteConnect (Compact 2013)

3/26/2014

This member function is used to connect to a pin.

Syntax

virtual HRESULT CompleteConnect(
  IPin* pReceivePin
);

Parameters

  • pReceivePin
    Pointer to the connected (receiving) pin.

Return Value

Returns an HRESULT value.

The default implementation returns NOERROR.

Remarks

Override this member function to check for required connection interfaces on the pReceivePin parameter or its filter.

Failing this member function fails the connection and disconnects the other pin.

The CBaseOutputPin class overrides this member function to establish a local memory transport.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBasePin Class