IWMPControls::get_isAvailable (Windows Embedded CE 6.0)
1/6/2010
The get_isAvailable method indicates whether a specified type of information is available or a specified action can be performed.
Syntax
HRESULT get_isAvailable( BSTR bstrItem, VARIANT_BOOL* pIsAvailable );
Parameters
- bstrItem
[in] BSTR containing one of the following values.
- pIsAvailable
[out] Pointer to a VARIANT_BOOL indicating whether a specified type of information is available or a specified action can be performed.
bstrItem contains 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. |
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. |