Share via


IDvbLogicalChannelDescriptor::GetRecordServiceId method (dvbsiparser.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.]

Note��This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

The GetRecordServiceId method returns the service identifier at a specified index in the channel list.

Syntax

HRESULT GetRecordServiceId(
  [in]  BYTE bRecordIndex,
  [out] WORD *pwVal
);

Parameters

[in] bRecordIndex

Zero-based index of the service identifier to return. To get the number of service identifiers in the descriptor, call IDvbLogicalChannelDescriptor::GetCountOfRecords.

[out] pwVal

Receives the service_id field.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header dvbsiparser.h

See also

IDvbLogicalChannelDescriptor