Windows Media Player 11 SDK DVD.isAvailable 

Windows Media Player SDK banner art

Previous Next

DVD.isAvailable

The isAvailable property indicates whether a specified type of information is available or a specified action can be performed.

Syntax

  

Parameters

name

String containing one of the following values.

String Description
back Determines whether the back method is available.
dvd Determines whether the DVD is loaded.
dvdDecoder Determines whether the DVD decoder is installed on system.
resume Determines whether the resume method is available.
titleMenu Determines whether the titleMenu method is available.
topMenu Determines whether the topMenu method is available. Commonly called the root menu.

Return Values

This method returns a Boolean value indicating whether the specified parameter is available.

Remarks

The DVD features of Windows Media Player will not work on computers that do not have third-party DVD decoders installed. You can determine whether a decoder is available by calling isAvailable("dvdDecoder").

Every DVD is authored differently. The methods available during DVD playback and navigation depend on how the DVD is authored.

Windows Media Player 10 Mobile: This property always returns false.

Requirements

Version: Windows Media Player for Windows XP or later.

Library: Use wmp.dll.

Platform: Windows XP or later.

See Also

Previous Next