Share via


IComponent::get_DescLangID Method

The get_DescLangID method retrieves the language identifier for the description property.

Syntax

HRESULT get_DescLangID(
  [out]  long *pLangID
);

Parameters

  • pLangID [out]
    Pointer to a variable receives the language identifier.

Return Value

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

Remarks

The returned language identifer identifies the language of the description property, which is obtained by calling the get_Description method.

To get the language of the stream content, call the ILanguageComponentType::get_LangID method (only if the component object exposes the ILanguageComponentType interface).

Requirements

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

See Also

IComponent Interface
IComponent::get_Description

Send comments about this topic to Microsoft

Build date: 12/4/2008