Windows Media Player 11 SDK IWMPPlayerServices::setTaskPane
Previous | Next |
IWMPPlayerServices::setTaskPane
The setTaskPane method displays the specified task pane in the full mode of Windows Media Player.
Syntax
HRESULT setTaskPane( BSTR bstrTaskPane );
Parameters
bstrTaskPane
[in] BSTR containing one of the following values.
Value | Description |
NowPlaying | Opens Windows Media Player in the Now Playing feature. |
MediaGuide | Opens Windows Media Player in the Media Guide feature (Guide feature in Windows Media Player 10). |
CopyFromCD | Opens Windows Media Player in the Copy From CD feature (Rip feature in Windows Media Player 10). |
CopyFromCD?AutoCopy:id | Opens Windows Media Player in the Copy From CD feature (Rip feature in Windows Media Player 10) and automatically invokes the Copy Music functionality after switching.
To specify a particular drive identifier, append a colon character (:) followed by the CD drive identifier number. If you omit the colon and the ID, the first CD drive is will be used. If the user has selected Eject CD when copying is completed in Windows Media Player, the CD will be ejected when copying is completed. |
Library | Opens Windows Media Player in the Library feature. |
RadioTuner | Opens Windows Media Player in the Radio Tuner feature (current active online store in Windows Media Player 10). |
CopyToCD | Opens Windows Media Player 10 in the Burn feature. |
CopyToCDOrDevice | Opens Windows Media Player in the Copy to CD or Device feature (Sync feature in Windows Media Player 10). |
Services | Opens Windows Media Player in the Premium Services feature (current active online store in Windows Media Player 10). |
SkinChooser | Opens Windows Media Player in the Skin Chooser feature. |
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
S_OK | The method succeeded. |
Remarks
This method is used only when remoting the Windows Media Player control.
Windows Media Player 10 Mobile: This method is not supported.
Requirements
Version: Windows Media Player 9 Series or later. Windows Media Player 10 for CopyToCD.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
- IWMPPlayerServices Interface
- IWMPPlayerServices::setTaskPaneURL (deprecated)
- Remoting the Windows Media Player Control
Previous | Next |