次の方法で共有


IServiceLocationDescriptor::GetElementLanguageCode method (atscpsipparser.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 639 language code for an Advanced Television Systems Committee (ATSC) service location descriptor.

Syntax

HRESULT GetElementLanguageCode(
  [in]  BYTE     bIndex,
  [out] BYTE [3] LangCode
);

Parameters

[in] bIndex

Specifies the elementary stream, indexed from zero. Call the IServiceLocationDescriptor::GetNumberOfElements method to get the number of elementary streams in the descriptor.

[out] LangCode

Pointer to a buffer that receives the language code. For a list of language codes, refer to ISO 639 Code Tables.

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 atscpsipparser.h (include Atscpsipparser.idl)

See also

IServiceLocationDescriptor