Share via


IDvbLogicalChannel2Descriptor::GetListNameW 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 name of a channel list from a Digital Video Broadcast (DVB) logical channel descriptor.

Syntax

HRESULT GetListNameW(
  [in]  BYTE             bListIndex,
  [in]  DVB_STRCONV_MODE convMode,
  [out] BSTR             *pbstrName
);

Parameters

[in] bListIndex

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

[in] convMode

Specifies the string conversion mode to use. This parameter can have any of the following values.

  • STRCONV_MODE_DVB
  • STRCONV_MODE_DVB_EMPHASIS
  • STRCONV_MODE_DVB_WITHOUT_EMPHASIS
  • STRCONV_MODE_ISDB

[out] pbstrName

Pointer to the memory block that receives the channel name. The caller is responsible for freeing this memory.

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::GetListCountOfRecords