Microsoft DirectX 9.0

Xml2Dex.WriteGrfFile Method

The WriteGrfFile method writes a filter graph to a file in .grf format.

Syntax

object.WriteGrfFile(
    pGraph As Unknown,
    FileName As String
)

Parameters

pGraph

The FilgraphManager object that specifies the filter graph.

FileName

String that specifies the name of the file to write.

Error Codes

If the method fails, an error is raised.

Remarks

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.

See Also