Condividi tramite


CTransformFilter::BreakConnect

 
Microsoft DirectShow 9.0

CTransformFilter::BreakConnect

The BreakConnect method releases a pin from a connection.

Syntax

  virtual HRESULT BreakConnect(
    PIN_DIRECTION dir
);

Parameters

dir

Member of the PIN_DIRECTION enumerated type, specifying which pin connection was broken (input or output).

Return Value

Returns S_OK.

Remarks

The CTransformInputPin::BreakConnect and CTransformOutputPin::BreakConnect methods call this method when a pin connection is broken. This method does nothing in the base class. If you override the CheckConnect method, override this method to release any resources obtained in the CheckConnect method, including interface pointers.

Requirements

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

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

See Also