Microsoft DirectX 8.1 (C++)

IXml2Dex::WriteXML

The WriteXML method translates a timeline to an XML string.

Syntax

HRESULT WriteXML(
    IUnknown *pTimeline,
    BSTR *pbstrXML
);

Parameters

pTimeline

Pointer to the timeline object's IUnknown interface.

pbstrXML

Pointer to a variable of type BSTR that receives the XML string describing the timeline.

Return Value

Returns S_OK if successful. If there is insufficient memory for the conversion, returns E_OUTOFMEMORY. Otherwise, returns another error code.

Remarks

The method allocates memory for the string. The application must call SysFreeString to free the memory.

See Also