Microsoft DirectX 9.0

ILanguageComponentType::put_LangID

The put_LangID method specifies the LCID that identifies the language

Syntax

HRESULT put_LangID(
    long LangID
);

Parameters

LangID

[in] Specifies the LCID.

Return Values

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

Remarks

LangID is a Win32 LCID. Use this method to set the language of an audio stream, for example when creating a new entry for the Guide Store database. Use the IComponent::put_DescLangID method to specify the language of the text description of the stream.

See Also