Share via


CBasePin::CanReconnectWhenActive

 
Microsoft DirectShow 9.0

CBasePin::CanReconnectWhenActive

The CanReconnectWhenActive method queries whether the pin supports dynamic reconnections.

Syntax

  bool CanReconnectWhenActive(void);

Return Value

Returns a Boolean value that specifies whether the pin can dynamically reconnect. If TRUE, the pin can dynamically reconnect.

Remarks

By default, you must stop a filter before reconnecting any of its pins. If a pin supports dynamic reconnection, however, it can reconnect while the filter is active. For more information, see Dynamic Graph Building.

Requirements

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

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

See Also