Compartir a través de


IXMLGraphBuilder::BuildFromXMLFile

 
Microsoft DirectShow 9.0

IXMLGraphBuilder::BuildFromXMLFile

The BuildFromXMLFile method loads a filter graph from an XML file.

  • Note   This interface is deprecated, and new applications should not use it.

Syntax

  HRESULT BuildFromXMLFile(
  IGraphBuilder *pGraph,
  LPCWSTR wszFileName,
  LPCWSTR wszBaseURL
);

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.

wszFileName

[in] Wide-character string that contains the full path name of an XML file. The XML file must contain the string returned by the IXMLGraphBuilder::SaveToXML method.

wszBaseURL

[in] Reserved. Set to NULL.

Return Values

Returns an HRESULT value.

Requirements

Header: Include amxmlgraphbuilder.h.

Library: None.

See Also