IPinConnection interface (strmif.h)

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.

Inheritance

The IPinConnection interface inherits from the IUnknown interface. IPinConnection also has these types of members:

Methods

The IPinConnection interface has these methods.

 
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.

Requirements

   
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