Share via


CTransformOutputPin::CheckConnect

 
Microsoft DirectShow 9.0

CTransformOutputPin::CheckConnect

The CheckConnect method determines whether a pin connection is suitable.

Syntax

  HRESULT CheckConnect(
    IPin *pPin
);

Parameters

pPin

Pointer to the output pin's IPin interface.

Return Value

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_UNEXPECTED The filter's input pin is not connected.

Remarks

This method overrides the CBaseOutputPin::CheckConnect method. It calls the filter's CTransformFilter::CheckConnect method, which returns S_OK in the base class. The derived class can override the CTransformFilter::CheckConnect method to perform additional checks.

Requirements

**  Header:** Declared in Transfrm.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also

CTransformOutputPin Class