IXml2Dex::WriteXMLFile
Microsoft DirectShow 9.0 |
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.
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