次の方法で共有


IDvbLogicalChannelDescriptor::GetRecordLogicalChannelNumber 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 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

[in] bRecordIndex

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

[out] pwVal

Receives the logical_channel_number 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