Share via


IWMPDVD.isAvailable (VB and C#)

[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 isAvailable property (the get_isAvailable method in C#) gets a value that indicates whether a specified type of information is available or a specified action can be performed.

[Visual Basic]
ReadOnly Property isAvailable(
  bstrItem As System.String
) As System.Boolean
[C#]
System.Boolean get_isAvailable (
  System.String bstrItem
)

Parameters

bstrItem

A System.String that is one of the following values.

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

Property Value

System.Boolean

A System.Boolean that indicates whether a specified type of information is available or a specified action can be performed.

Remarks

The DVD features of Windows Media Player will not work on computers that do not have a DVD decoder installed. You can determine whether a decoder is available by calling the isAvailable property (the get_isAvailable method in C#) and passing in the System.String value "dvdDecoder".

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

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later
Namespace
WMPLib
Assembly
Interop.WMPLib.dll (Interop.WMPLib.dll.dll)

See also

IWMPDVD Interface (VB and C#)

IWMPDVD.back (VB and C#)

IWMPDVD.resume (VB and C#)

IWMPDVD.titleMenu (VB and C#)

IWMPDVD.topMenu (VB and C#)