Microsoft DirectX 8.1 (C++)

IXml2Dex::WriteXMLFile

The WriteXMLFile method translates a timeline to XML and writes the XML data to a file.

Syntax

HRESULT WriteXMLFile(
    IUnknown *pTimeline,
    BSTR FileName
);

Parameters

pTimeline

Pointer to the timeline object's IUnknown interface.

FileName

String that specifies the name of the file to write.

Return Value

Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.

Value Description
E_INVALIDARG Argument is invalid.
E_OUTOFMEMORY Insufficient memory.
S_OK Success.

Remarks

This method generates an XML file that represents all the components in the timeline.

See Also