Share via


Windows Media Player 11 SDK IWMPSettings::get_isAvailable 

Windows Media Player SDK banner art

Previous Next

IWMPSettings::get_isAvailable

The get_isAvailable method indicates whether a specified action can be performed.

Syntax

  

Parameters

bstrItem

[in]  BSTR containing one of the following values.

Value Description
AutoStart Determines whether the put_autoStart method can be used to specify that Windows Media Player starts playback automatically.
Balance Determines whether the put_balance method can be used to set the stereo balance.
BaseURL Determines whether the put_baseURL method can be used to specify a base URL.
DefaultFrame Determines whether the put_defaultFrame method can be used to specify the default frame.
EnableErrorDialogs Determines whether the put_enableErrorDialogs method can be used to enable or disable displaying error dialog boxes.
GetMode Determines whether the getMode method can be used to retrieve the current loop or shuffle mode.
InvokeURLs Determines whether the put_invokeURLs method can be used to specify whether URL events should launch a Web browser.
Mute Determines whether the put_mute method can be used to specify whether the audio output is on or off.
PlayCount Determines whether the put_playCount method can be used to specify the number times a media item will play.
Rate Determines whether the put_rate method can be used to set the playback rate.
SetMode Determines whether the setMode method can be used to specify the current loop or shuffle mode.
Volume Determines whether the put_volume method can be used to specify the audio volume.

pIsAvailable

[out]  Pointer to a VARIANT_BOOL indicating whether the specified action can be performed.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next