Share via


Windows Media Player 11 SDK AxWindowsMediaPlayer.DomainChange Event (VB and C#) 

Windows Media Player SDK banner art

Previous Next

AxWindowsMediaPlayer.DomainChange Event (VB and C#)

The DomainChange event occurs when the DVD domain changes.

[Visual Basic]
Private Sub player_DomainChange(
  sender As Object,
  e As _WMPOCXEvents_DomainChangeEvent
) Handles player.DomainChange

[C#]
private void player_DomainChange(
  object sender,
  _WMPOCXEvents_DomainChangeEvent e
)

Event Data

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

Property Description
strDomain System.String

Indicates the new domain. For possible values, see the Remarks section.

Remarks

The following table shows the possible values for the strDomain property.

String Description
firstPlay Performing default initialization of a DVD disc.
videoManagerMenu Displaying menus for whole disc. Also known as Root Menu or topMenu.
videoTitleSetMenu Displaying menus for current title set. Also known as titleMenu.
title Displaying the current title.
stop The DVD Navigator is in the DVD Stop domain.

Requirements

Version: Windows Media Player 9 Series or later

Namespace: AxWMPLib

Assembly: AxInterop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next