Condividi tramite


IBDA_GuideDataDeliveryService::GetServices 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.]

Gets a list of services that are available on the the media transform device (MTD).

Syntax

HRESULT GetServices(
  [in, out] ULONG *pulcbBufferLen,
  [out]     BYTE  *pbBuffer
);

Parameters

[in, out] pulcbBufferLen

On input, specifies the size of the pbBuffer array, in bytes. On output, receives the size of the data that was written to the pbBuffer array.

[out] pbBuffer

Pointer to a byte array that receives a list of service identifiers. A service identifier is a 64-bit value. To translate a service identifier into a tune request, call IBDA_GuideDataDeliveryService::GetTuneXmlFromServiceIdx.

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