FilterGraphTools.DisconnectAllPins Method

DirectShowLib.Utils

A Managed DirectShow Toolkit

FilterGraphTools.DisconnectAllPins Method 

Disconnect pins of all the filters in a DirectShow Graph

public static void DisconnectAllPins(
   IGraphBuilder graphBuilder
);

Parameters

graphBuilder
the IGraphBuilder interface of the graph

Remarks

This method doesn't throw an exception if an error occurs during pin disconnections

Exceptions

Exception Type Condition
ArgumentNullException Thrown if graphBuilder is null
COMException Thrown if the method can't enumerate its filters

See Also

FilterGraphTools Class | DirectShowLib.Utils Namespace