共用方式為


DVD Object

[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 DVD object provides properties and methods for working with DVDs.

The DVD object supports the following properties.

Property Description
domain Retrieves the current domain of the DVD.
isAvailable Retrieves whether a specified type of information is available or a given action can be performed.

 

The DVD object supports the following 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.

 

The DVD object is accessed through the following property.

Object Property
Player dvd

 

See also

Object Model Reference for Scripting