Microsoft DirectX 9.0

IComponent::put_DescLangID

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

Syntax

HRESULT put_DescLangID(
  long  LangID
);

Parameters

LangID

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

Return Values

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.

See Also