Microsoft DirectX 8.1 (C++)

IComponent::get_DescLangID

The get_DescLangID method retrieves the language for presentation of the description.

Syntax

HRESULT get_DescLangID(
  long*  pLangID
);

Parameters

pLangID

[out] Pointer to a variable of type long that will receive 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.

See Also