IXMLGraphBuilder interface

The IXMLGraphBuilder interface is used to persist a DirectShow filter graph using an XML file format.

Note  Support for this interface was removed in Windows 7. New applications should not use this interface.
 

Members

The IXMLGraphBuilder interface inherits from the IUnknown interface. IXMLGraphBuilder also has these types of members:

Methods

The IXMLGraphBuilder interface has these methods.

MethodDescription
BuildFromXML

Loads a filter graph from an XML element.

BuildFromXMLFile

Loads a filter graph from an XML file.

SaveToXML

Saves a filter graph to an XML element.

 

Remarks

To get a pointer to this interface, call CoCreateInstance with the class identifier CLSID_XMLGraphBuilder.

The recommended way to save and load a filter graph is to use the GraphEdit file format:

Generally, you should persist a filter graph only for testing purposes and not for production. There is no consistently reliable way to reload a filter graph from a file, because the user's hardware and software configurations can change between sessions. Therefore, except for testing, an application should always build a filter graph programmatically.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

End of client support

Windows Vista

End of server support

Windows Server 2008

Header

Amxmlgraphbuilder.h

 

 

Show: