IComponent::put_DescLangID Method

The put_DescLangID method sets the language for presentation of the description.

Syntax

HRESULT put_DescLangID(
  [in]  long LangID
);

Parameters

  • LangID [in]
    Variable of type long that specifies the language ID.

Return Value

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

Remarks

This is the language of the descriptive info in the component object. It is not the same as the language ID in the language component type which defines the language of the stream content. An application can modify this value in order to activate a different language substream.

Requirements

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

See Also

IComponent Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008