Windows Media Player 11 SDK External.buy 

Windows Media Player SDK banner art
PreviousNext

External.buy

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

The buy method initiates the purchase of a set of media items.

Syntax

window.external.buy(ViewType, ViewIDs)

Parameters

ViewType

String that specifies the type of item to be purchased. The caller must set this parameter to one of the following library location constants:

CPListID

CPTrackID

CPAlbumID

ViewIDs

String containing the IDs, delimited by semicolons, of the items to be purchased.

Requirements

Version: Windows Media Player 11.

Library: Use wmp.dll.

See Also

PreviousNext
Show: