次の方法で共有


IWMPSubscriptionService2 interface (subscriptionservices.h)

[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.
 
The IWMPSubscriptionService2 interface extends IWMPSubscriptionService. It provides methods to initiate background processes, to provide notifications about online store activity, and to provide a pointer to the Windows Media Player core interface. These methods are implemented by the online store and called by Windows Media Player 10 or later.

Inheritance

The IWMPSubscriptionService2 interface inherits from IWMPSubscriptionService. IWMPSubscriptionService2 also has these types of members:

Methods

The IWMPSubscriptionService2 interface has these methods.

 
IWMPSubscriptionService2::deviceAvailable

Note  This section describes functionality designed for use by online stores.
IWMPSubscriptionService2::prepareForSync

Note  This section describes functionality designed for use by online stores.
IWMPSubscriptionService2::serviceEvent

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 serviceEvent method is called when the online store is activated or deactivated.
IWMPSubscriptionService2::stopBackgroundProcessing

Note  This section describes functionality designed for use by online stores.

Requirements

Requirement Value
Target Platform Windows
Header subscriptionservices.h

See also

IWMPSubscriptionService

Reference for Type 2 Online Stores