Export (0) Print
Expand All

CBaseOutputPin.CheckConnect method

The CheckConnect method determines whether a pin connection is suitable.

Syntax


HRESULT CheckConnect(
  IPin *pPin
);

Parameters

pPin

Pointer to the input pin's IPin interface.

Return value

Returns one of the following HRESULT values.

Return codeDescription
S_OK

Success.

E_NOINTERFACE

Input pin does not support IMemInputPin.

VFW_E_INVALID_DIRECTION

Pin directions are not compatible.

 

Remarks

This method calls the base-class CBasePin::CheckConnect method, and then queries the input pin for its IMemInputPin interface.

Requirements

Header

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseOutputPin Class

 

 

Community Additions

ADD
Show:
© 2014 Microsoft