Microsoft DirectX 9.0 |
The LoadXML method loads property data expressed in Extensible Markup Language (XML).
Syntax
HRESULT LoadXML(
IUnknown *pxml
);
Parameters
pxml
[in] Pointer to the IUnknown interface of an XML element created by the Microsoft XML parser.
Return Value
Returns an HRESULT value. Possible values include the following.
Value | Description |
S_FALSE | No property data. |
S_OK | Success. |
E_OUTOFMEMORY | Insufficient memory. |
VFW_E_INVALID_FILE_FORMAT | Invalid format. |
Remarks
Typically, applications will not need to use this method. DES uses it internally to load properties from XTL files.
To use this method, create an IXMLDocument object and use it to parse an XML file. Then use the IXMLDocument object to retrieve IXMLElement objects. If the object has properties, you can pass the IXMLElement pointer to the LoadXML method. The method loads the properties into the property setter.
Requirements
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.
See Also