IPinConnection interface

This interface provides methods for reconnecting an input pin while the filter is still running. The Filter Graph Manager calls methods on this interface when it performs dynamic reconnections (see the IGraphConfig interface). Applications might also use this interface to perform dynamic pin reconnections.

Filter developers: Implement this interface on any input pin that allows dynamic reconnection or dynamic changes in format.


The IPinConnection interface has these methods.

Method Description
IPinConnection::DynamicDisconnect The DynamicDisconnect method disconnects the pin when the filter is active (paused or running). Call this method instead of IPin::Disconnect to disconnect a pin when the graph is running or paused.
IPinConnection::DynamicQueryAccept The DynamicQueryAccept method queries whether the pin can accept the specified media type while the graph is running with the current connection to this pin.
IPinConnection::IsEndPin The IsEndPin method indicates whether a reconnection search should end at this pin.
IPinConnection::NotifyEndOfStream The NotifyEndOfStream method requests notification from the pin when the next end-of-stream condition occurs.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See Also

Dynamic Graph Building

Dynamic Reconnection