Share via


ILanguageComponentType::get_LangID method (tuner.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.]

The get_LangID method retrieves the LCID that identifies the language.

Syntax

HRESULT get_LangID(
  [out] long *LangID
);

Parameters

[out] LangID

Pointer to a variable that receives the LCID.

Return value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

The pLangID parameter is a pointer to a Win32 LCID. Use this method to determine the language of an audio stream. Use the IComponent::get_DescLangID to determine the language of the text description of the stream.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

ILanguageComponentType Interface

ILanguageComponentType::put_LangID