Partager via


IPinConnection Interface

 
Microsoft DirectShow 9.0

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.

In addition to the methods inherited from IUnknown, the IPinConnection interface exposes the following methods.

Method Description
DynamicQueryAccept Queries whether the pin can accept the specified media type while the graph is running with the current connection to this pin.
NotifyEndOfStream Requests notification from the pin when the next end-of-stream condition occurs.
IsEndPin Indicates whether a reconnection search should end at this pin.
DynamicDisconnect Disconnects the pin when the filter is running.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also