Partager via


IDvbLogicalChannelDescriptor::GetRecordLogicalChannelNumber

 
Microsoft DirectShow 9.0

IDvbLogicalChannelDescriptor::GetRecordLogicalChannelNumber

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(
  BYTE  bRecordIndex,
  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 Values

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: Include dvbsiparser.h.

See Also