Windows Media Player 11 SDK IWMPControls::get_isAvailable
Previous | Next |
IWMPControls::get_isAvailable
The get_isAvailable method indicates whether a specified type of information is available or a specified action can be performed.
Syntax
Parameters
bstrItem
[in] BSTR containing one of the following values.
Value | Description |
currentItem | Determines whether the user can set the IWMPControls::put_currentItem method. |
currentMarker | Determines whether the user can seek to a specific marker. |
currentPosition | Determines whether the user can seek to a specific position in the file. Some files do not support seeking. |
fastForward | Determines whether the file supports fast forwarding and whether that functionality can be invoked. Many file types (or live streams) do not support fastForward. |
fastReverse | Determines whether the file supports fastReverse and whether that functionality can be invoked. Many file types (or live streams) do not support fastReverse. |
next | Determines whether the user can seek to the next entry in a playlist. |
pause | Determines whether the IWMPControls::pause method is available. |
play | Determines whether the IWMPControls::play method is available. |
previous | Determines whether the user can seek to the previous entry in a playlist. |
step | Determines whether the IWMPControls2::step method is available during playback. |
stop | Determines whether the IWMPControls::stop method is available. |
pIsAvailable
[out] Pointer to a VARIANT_BOOL indicating whether a specified type of information is available or a 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
- IWMPControls Interface
- IWMPControls::pause
- IWMPControls::play
- IWMPControls::put_currentItem
- IWMPControls::stop
- IWMPControls2::step
Previous | Next |