AudioLanguageChange Event of the AxWindowsMediaPlayer Object

The AudioLanguageChange event occurs when the current audio language changes.

[C#]
private void player_AudioLanguageChange(
  object sender,
  _WMPOCXEvents_AudioLanguageChangeEvent e
)

[Visual Basic]
Private Sub player_AudioLanguageChange(
  sender As Object,
  e As _WMPOCXEvents_AudioLanguageChangeEvent
) Handles player.AudioLanguageChange

Event Data

The handler associated with this event is of type AxWMPLib._WMPOCXEvents_AudioLanguageChangeEventHandler. This handler receives an argument of type AxWMPLib._WMPOCXEvents_AudioLanguageChangeEvent, which contains the following property related to this event.

Property Description
langID System.Int32Uniquely identifies a particular language dialect, called a locale.

Remarks

A locale identifier (LCID) uniquely identifies a particular language dialect, called a locale.

Requirements

Version
Windows Media Player 9 Series or later
Namespace
AxWMPLib
Assembly
AxInterop.WMPLib.dll (AxInterop.WMPLib.dll.dll)

See also

AxWindowsMediaPlayer Object (VB and C#)

IWMPControls3.currentAudioLanguage (VB and C#)