Partager via


Reference for Type 2 Online Stores

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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.

 

Windows Media Player 10 or later provides objects, interfaces, properties, and methods that support type 2 online stores. The following sections document these in detail.

Section Description
IWMPSubscriptionService Interface Provides methods to augment digital rights management (DRM) and initiate background processes.
IWMPSubscriptionService2 Interface Provides methods to initiate background processes, to provide information about online store activity, and to provide a pointer to the Windows Media Player core interface.
IWMPSubscriptionServiceCallback Interface Defines a method that online stores use to notify Windows Media Player when a background process is completed.
WMPNotifySubscriptionPluginAddRemove A function used to notify Windows Media Player that a plug-in has been installed or uninstalled.
DownloadCollection Object Provides methods and properties to manage collections of download items.
DownloadItem Object Provides methods and properties relating to download requests.
DownloadManager Object Provides methods to manage download collections.
External Object for Type 2 Online Stores Provides properties, methods, and an event accessible from online store webpages.
Enumerations for Type 2 Online Stores Describes enumerations used by online stores.
Windows Media Player BITS Job Convention Describes a convention for using the Background Intelligent Transfer Service (BITS).
Registry Keys and Entries for a Type 2 Online Store Describes registry entries that an online store must create in the registry on the user's computer.

 

Type 2 Online Stores