Share via


ILanguageComponentType::get_LangID Method

The get_LangID method retrieves the LCID that identifies the language.

Syntax

HRESULT get_LangID(
  [out]  long *pLangID
);

Parameters

  • pLangID [out]
    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

pLangID 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

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

ILanguageComponentType Interface
ILanguageComponentType::put_LangID

Send comments about this topic to Microsoft

Build date: 12/4/2008