IWMPContentPartner interface

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 IWMPContentPartner interface provides methods that Windows Media Player calls to integrate its user interface with an online store's catalog and services. This interface is implemented by a content partner plug-in, which is provided by the online store.

Members

The IWMPContentPartner interface inherits from the IUnknown interface. IWMPContentPartner also has these types of members:

Methods

The IWMPContentPartner interface has these methods.

MethodDescription
Authenticate

Initiates an attempt to authenticate the user.

Buy

Initiates the purchase of digital media content.

CanBuySilent

Calculates the total price of a purchase and determines whether the purchase can proceed without displaying a dialog box.

CompareContainerListPrices

Compares the price of two content container lists.

Download

Initiates the download of a set of media items.

DownloadTrackComplete

Notifies the content partner plug-in that Windows Media Player has finished downloading a track or that the download attempt failed.

GetCatalogURL

Retrieves the URL from which to retrieve an update to the online store's current catalog.

GetCommands

Retrieves context menu commands.

GetContentPartnerInfo

Retrieves specific information about the online store.

GetItemInfo

Retrieves information (for example, a URL or a caption) related to an item owned by an online store.

GetListContents

Initiates the retrieval of a dynamic list.

GetStreamingURL

Retrieves the streaming URL of a track.

GetTemplate

Retrieves the URL of the discovery page to be displayed when the library view changes in Windows Media Player.

InvokeCommand

Invokes a context menu command.

Login

Logs the user in to the online store.

Logout

Ends the user's online store session.

Notify

Provides the content partner plug-in with event notifications from Windows Media Player.

RefreshLicense

Initiates the update of a license for the specified media file.

SendMessage

Enables discovery pages to send messages to the plug-in.

SetCallback

Provides the plug-in with a pointer for calling Windows Media Player methods.

StationEvent

Notifies the plug-in of events during playback of a Windows Media metafile playlist (ASX).

UpdateDevice

Notifies the content-partner plug-in that a portable device is being synchronized.

VerifyPermission

Initiates the process of verifying permission for Windows Media Player to perform an action.

 

See also

Reference for Type 1 Online Stores

 

 

Show: