Partager via


IWMPDVD (VB and C#) interface

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMPDVD interface provides properties and methods for working with DVDs.

The IWMPDVD interface exposes the following properties.

Members

The IWMPDVD (VB and C#) interface has these types of members:

Methods

The IWMPDVD (VB and C#) interface has these methods.

Method Description
back Changes the display from a submenu to its parent menu.
resume Changes to playback mode from menu mode, resuming at the same position as when the menu was invoked.
titleMenu Stops playback and displays the title menu.
topMenu Stops playback and displays the root menu.

Properties

The IWMPDVD (VB and C#) interface has these properties.

Property Access type Description
domain
Read-only
Gets the current domain of the DVD.
isAvailable
Read-only
Gets a value that indicates whether a specified type of information is available or a specified action can be performed. In C#, this is the get_isAvailable method.

Get an IWMPDVD interface by using the following property.

Object Property
AxWindowsMediaPlayer Object dvd

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#