Load a DirectShow Graph from a file
Parameters
- graphBuilder
- the IGraphBuilder interface of the graph
- fileName
- the file to be loaded
Exceptions
Exception Type | Condition |
---|---|
ArgumentNullException | Thrown if graphBuilder is null |
ArgumentException | Thrown if the given file is not a valid graph file |
COMException | Thrown if errors occur during loading |
See Also
FilterGraphTools Class | DirectShowLib.Utils Namespace | SaveGraphFile