Share via


IDvbLogicalChannelDescriptor::GetRecordLogicalChannelNumber Method

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
The GetRecordLogicalChannelNumber method returns the logical channel number at a specified index in the channel list.

Syntax

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

Parameters

  • bRecordIndex [in]
    Zero-based index of the logical channel number to return. To get the number of logical channel numbers in the descriptor, call IDvbLogicalChannelDescriptor::GetCountOfRecords.

  • pwVal [out]
    Receives the logical_channel_number field.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description

S_OK

The method succeeded.

Requirements

Header Declared in Dvbsiparser.h.

See Also

IDvbLogicalChannelDescriptor Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008