Running the Sample Project
[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.]
The sample COM component demonstrates the functionality provided by the methods of IWMPSubscriptionServices by displaying a dialog box whenever Windows Media Player calls one of the methods. To see this happen, you must first add some content to the library that contains a ContentDistributor attribute that matches your service. See Adding the ContentDistributor Attribute. Then, use Windows Media Player 10 or later to open your online store, play your premium content, and copy your premium content to a device. Windows Media Player will instantiate the sample COM component and call methods when appropriate.
Related topics