Share via


IPersistTuneXmlUtility2::Serialize 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.]

Serializes a tuning request to an XML tuning request string.

Syntax

HRESULT Serialize(
  [in] ITuneRequest *piTuneRequest,
       BSTR         *pString
);

Parameters

[in] piTuneRequest

Pointer to the ITuneRequest interface for the tuning request object that is serialized.

pString

Pointer to a buffer that receives the XML tuning request string. The caller is responsible for releasing 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

See also

IPersistTuneXmlUtility2

IPersistTuneXmlUtility::Deserialize

ITuneRequest