IXMLGraphBuilder::BuildFromXML
Microsoft DirectShow 9.0 |
IXMLGraphBuilder::BuildFromXML
The BuildFromXML method loads a filter graph from an XML element.
- Note This interface is deprecated, and new applications should not use it.
Syntax
HRESULT BuildFromXML( IGraphBuilder *pGraph, IXMLElement *pxml );
Parameters
pGraph
[in] Pointer to the Filter Graph Manager's IGraphBuilder interface. To create the Filter Graph Manager, call CoCreateInstance. Do not add any filters to the graph before calling this method.
pxml
[in] Pointer to the IXMLElement interface of an XML element object. The XML element object must contain the string returned by the IXMLGraphBuilder::SaveToXML method.
- Note The IXMLElement interface is implemented in Microsoft XML Core Services (MSXML) version 1.0 but is not implemented in more recent versions of MSXML.
Return Values
Returns an HRESULT value.
Requirements
Header: Include amxmlgraphbuilder.h.
Library: None.
See Also