다음을 통해 공유


IBDA_GuideDataDeliveryService::GetTuneXmlFromServiceIdx method (bdaiface.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.]

Converts a service identifier into an XML tune request.

A service identifier (ServiceIdx) is a 64-bit identifier, used in the PBDA EIT guide delivery format. An XML tune request (TuneXml) is an XML string that can be used to tune to the service.

Syntax

HRESULT GetTuneXmlFromServiceIdx(
  [in]  ULONG64 ul64ServiceIdx,
  [out] BSTR    *pbstrTuneXml
);

Parameters

[in] ul64ServiceIdx

Identifier for the service.

[out] pbstrTuneXml

Receives the XML tune request. The caller must release the string by calling SysFreeString.

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 Windows Server�2008�R2 [desktop apps only]
Target Platform Windows
Header bdaiface.h

See also

IBDA_GuideDataDeliveryService