다음을 통해 공유


IDvbLogicalChannel2Descriptor::GetListRecordLogicalChannelNumber 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.]

Gets the value of the logical_channel_number field from a Digital Video Broadcast (DVB) logical channel descriptor. The logical_channel_number field gives the ordinal position of the service record in the descriptor.

Syntax

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

Parameters

[in] bListIndex

Specifies the channel list record number, indexed from zero. Call the IDvbLogicalChannel2Descriptor::GetCountOfLists method to get the number of channel list records in the logical channel descriptor.

[in] bRecordIndex

Specifies the service record number, indexed from zero. Call the IDvbLogicalChannel2Descriptor::GetListCountOfRecords method to get the number of service records in the logical channel descriptor.

[out] pwVal

Receives the logical channel number. This can be any of the following values:

Value Meaning
0
Service not suitable for user selection
1 - 999
Logical channel number
1000 - 1023
Reserved for future use

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 None supported
Target Platform Windows
Header dvbsiparser.h

See also

IDvbLogicalChannel2Descriptor

IDvbLogicalChannel2Descriptor::GetCountOfLists

IDvbLogicalChannel2Descriptor::GetListCountOfRecords