Share via


Windows Media Player 11 SDK IWMPPlaylist::moveItem 

Windows Media Player SDK banner art

Previous Next

IWMPPlaylist::moveItem

The moveItem method changes the location of a media item in the playlist.

Syntax

  

Parameters

lIndexOld

long containing the original index.

lIndexNew

long containing the new index.

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.

Remarks

All items after the inserted item will have their index numbers increased by one.

Before calling this method, you must have full access to the library. For more information, see Library Access.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next