Share via


IXml2Dex::WriteXML

 
Microsoft DirectShow 9.0

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.

Requirements

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.

See Also