Share via


Windows Media Player 11 SDK IWMPPlaylist::get_itemĀ 

Windows Media Player SDK banner art

Previous Next

IWMPPlaylist::get_item

The get_item method retrieves the media item at the specified index.

Syntax

  

Parameters

lIndex

long containing the index.

ppIWMPMedia

[out]  Pointer to a pointer to an IWMPMedia interface for the returned item.

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

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

See Also

Previous Next