|Microsoft DirectX 9.0|
The ReadXMLFile method loads an XML project file. This method creates instances of all the objects expressed in the XML file and inserts them into the timeline, as well as applying any attributes given for the timeline, such as frame rate or default effect.
HRESULT ReadXMLFile( IUnknown *pTimeline, BSTR XMLName );
Pointer to a timeline object's IUnknown interface.
String that specifies the name of the file to load.
Returns an HRESULT value. Possible values include the following.
|VFW_E_INVALID_FILE_FORMAT||Invalid file format|
This method does not clear existing objects from the timeline before it inserts the new objects defined in the XML file. If you need to refresh an existing timeline, call IAMTimeline::ClearAllGroups first.
Requires Internet Explorer 4.0 or later.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.