IPersistTuneXmlUtility::Deserialize method (tuner.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
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
[in] varValue
XML node used to construct and initialize the object. This parameter can be either a BSTR object or an IXMLDOMNode object.
[out, retval] ppObject
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 this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�7 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | tuner.h |