Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
The getLanguageName method retrieves the name of the audio language with the specified locale identifier (LCID).
Syntax
HRESULT getLanguageName(
long lLangID,
BSTR* pbstrLangName
);
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.