次の方法で共有


Settings.isAvailable

[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 indicates whether a specified type of information is available or a specified action can be performed.

Syntax

player.settings.isAvailable( name )

Parameters

name

String containing one of the following values.

String Description
AutoStart Determines whether the autoStart property can be set.
Balance Determines whether the balance property can be set.
BaseURL Determines whether the baseURL property can be set.
DefaultFrame Determines whether the defaultFrame property can be set.
EnableErrorDialogs Determines whether the enableErrorDialogs property can be set.
GetMode Determines whether the getMode method can be called.
InvokeURLs Determines whether the invokeURLs property can be set.
Mute Determines whether the mute property can be set.
PlayCount Determines whether the playCount property can be set.
Rate Determines whether the rate property can be set.
SetMode Determines whether the setMode method can be called.
Volume Determines whether the volume property can be set.

Return Values

This method returns a Boolean value.

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later.
DLL
Wmp.dll

See also

Settings Object