Поделиться через


CPullPin::Disconnect

 
Microsoft DirectShow 9.0

CPullPin::Disconnect

The Disconnect method breaks the connection with the output pin.

Syntax

  HRESULT Disconnect(void);

Parameters

This method takes no parameters.

Return Values

Returns S_OK.

Remarks

This method breaks any connection made in the CPullPin::Connect method. Call this method inside your IPin::Disconnect method. (If your pin derives from CBasePin, override CBasePin::BreakConnect to call this method.)

Requirements

**  Header:** Include Pullpin.h and Streams.h.

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

See Also