IPersistTuneXmlUtility::Deserialize Method

[This documentation is preliminary and is subject to change.]
Constructs and returns an object that initializes itself by using the XML node passed as a VARIANT parameter to the method. The returned object exposes its IUnknown interface so that other objects can query it.

Syntax

HRESULT Deserialize(
  [in]           VARIANT varValue,
  [out, retval]  IUnknown **ppObject
);

Parameters

  • varValue [in]
    XML node used to construct and initialize the object. This parameter can be either a BSTR object or an IXMLDOMNode object.

  • ppObject [out]
    Pointer to the IUnknown interface of the object being deserialized. This method allocates memory to hold the deserialized object and returns the pointer in this parameter. The caller is responsible for freeing this memory.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Client Requires Windows 7.
IDL Declared in Tuner.idl.

See Also

IPersistTuneXmlUtility

Send comments about this topic to Microsoft

Build date: 12/4/2008