Share via


IDvbLogicalChannel2Descriptor::GetListCountryCode 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 three-character ISO 3166 country code for a channel list in a Digital Video Broadcast (DVB) logical channel descriptor.

Syntax

HRESULT GetListCountryCode(
  [in]  BYTE bListIndex,
  [out] char *pszCode
);

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.

[out] pszCode

Pointer to a buffer that receives the country code. This code is a 3-character, null-terminated string, so the buffer must be at least four bytes long. The caller is responsible for releasing 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