IWMPSettings::get_isAvailable (Windows Embedded CE 6.0)
1/6/2010
The get_isAvailable method indicates whether a specified action can be performed.
Syntax
HRESULT get_isAvailable( BSTR bstrItem, VARIANT_BOOL* pIsAvailable );
Parameters
- bstrItem
[in] BSTR containing one of the values shown in comments below.
- pIsAvailable
[out] Pointer to a VARIANT_BOOL indicating whether the specified action can be performed.
Possible values for bstrItem:
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. |
EnableErrorDialogs |
Determines whether the put_enableErrorDialogs method can be used to enable or disable displaying error dialog boxes. |
Mute |
Determines whether the put_mute method can be used to specify whether the audio output is on or off. |
Volume |
Determines whether the put_volume method can be used to specify the audio volume. |
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. |