Windows Media Player 11 SDK IWMPControls3::put_currentAudioLanguageIndex
Previous | Next |
IWMPControls3::put_currentAudioLanguageIndex
The put_currentAudioLanguageIndex method specifies the one-based index that corresponds to the audio language for playback.
Syntax
Parameters
lIndex
[in] 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 only accepts a long set to 0, otherwise an E_INVALIDARG HRESULT is returned.
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_currentAudioLanguageIndex
- IWMPControls3::put_currentAudioLanguage
Previous | Next |