Windows Media Player 11 SDK IWMPControls3::get_currentAudioLanguageIndex
Previous | Next |
IWMPControls3::get_currentAudioLanguageIndex
The get_currentAudioLanguageIndex method retrieves the one-based index that corresponds to the audio language for playback.
Syntax
Parameters
plIndex
[out] Pointer to a long containing the one-based index.
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
For Windows Media-based content, properties and methods related to language selection support only a single output.
Use the get_audioLanguageCount method to retrieve the number of supported audio languages.
Windows Media Player 10 Mobile: This method always retrieves a long set to 0.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
- IWMPControls3 Interface
- IWMPControls3::get_audioLanguageCount
- IWMPControls3::get_currentAudioLanguage
- IWMPControls3::getAudioLanguageDescription
- IWMPControls3::getAudioLanguageID
- IWMPControls3::getLanguageName
- IWMPControls3::put_currentAudioLanguageIndex
Previous | Next |