|Microsoft DirectX 9.0|
The WriteGrfFile method writes a filter graph to a file in .grf format.
object.WriteGrfFile( pGraph As Unknown, FileName As String )
The FilgraphManager object that specifies the filter graph.
String that specifies the name of the file to write.
If the method fails, an error is raised.
The pGraph parameter appears in the Microsoft® Visual Basic® Object Browser as type Unknown. In fact, however, this parameter represents a FilgraphManager object. GraphEdit files are intended for debugging use only. For more information, see Simulating Graph Building with GraphEdit.