次の方法で共有


CTransformFilter::CompleteConnect (Compact 2013)

3/26/2014

Informs the derived class when the connection process has completed.

Syntax

virtual HRESULT CompleteConnect(
  PIN_DIRECTION direction,
  IPin* pReceivePin 
);

Parameters

  • direction
    Pin direction.
  • pReceivePin
    Pointer to the output pin that is being connected to.

Return Value

Returns an HRESULT value.

Remarks

This member function is called by both CTransformInputPin::CompleteConnect and CTransformOutputPin::CompleteConnect.

It returns NOERROR by default.

Override this member function to handle special cases in both input and output pin connections.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CTransformFilter Class