Windows Media Player 11 SDK DownloadItem.getItemInfo 

Windows Media Player SDK banner art

Previous Next

DownloadItem.getItemInfo

Note This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported.

The getItemInfo method retrieves the value of an attribute for the download item.

Syntax

  

Parameters

itemname

String containing the attribute name. Supported values are AlbumArtist, Album, Duration, WM/Provider, Title, UserRating, and WM/TrackNumber.

Return Values

This method returns a String containing the value of the attribute specified by itemname.

Remarks

This method retrieves attributes specified using the BITS description string. See Windows Media Player BITS Job Convention.

This method is supported for background downloading. Your code should not call this method when using real-time downloading.

This method can retrieve information for BITS jobs added during the current Windows Media Player session only.

Requirements

Version: Windows Media Player 10 or later.

Library: Use wmp.dll.

See Also

Previous Next