Share via


Windows Media Player 11 SDK IWMPControls3::getLanguageNameĀ 

Windows Media Player SDK banner art

Previous Next

IWMPControls3::getLanguageName

The getLanguageName method retrieves the name of the audio language with the specified locale identifier (LCID).

Syntax

  

Parameters

lLangID

[in]  long specifying the LCID.

pbstrLangName

[out]  Pointer to a BSTR containing the audio language name.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

An LCID uniquely identifies a particular language dialect, called a locale.

For Windows Media-based content, properties and methods related to language selection support only a single output.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next