Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 2.87 KB

type-1-online-store-plug-in.md

File metadata and controls

55 lines (39 loc) · 2.87 KB
title description ms.assetid keywords ms.topic ms.date ms.custom
Type 1 Online Store Plug-in
Type 1 Online Store Plug-in
3aa74282-522b-4240-8d72-73bd3015abeb
Windows Media Player online stores,plug-ins
online stores,plug-ins
type 1 online stores,plug-ins
Windows Media Player online stores,IWMPContentPartner interface
online stores,IWMPContentPartner interface
type 1 online stores,IWMPContentPartner interface
plug-ins,Windows Media Player online stores
plug-ins,online stores
plug-ins,type 1 online stores
plug-ins,IWMPContentPartner interface
Windows Media Player plug-ins,type 1 online stores
Windows Media Player plug-ins,online stores
Windows Media Player plug-ins,Windows Media Player online stores
Windows Media Player plug-ins,IWMPContentPartner interface
IWMPContentPartner
article
4/26/2023
UpdateFrequency5

Type 1 Online Store Plug-in

[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.]

To take advantage of library integration features, type 1 online store providers must create a plug-in that implements the IWMPContentPartner interface. This interface provides the methods that Windows Media Player calls to notify the online store about activities taking place in the Player and to retrieve specific information about online store content, the catalog, or the store itself.

After Windows Media Player instantiates the plug-in, the Player calls IWMPContentPartner::SetCallback, and provides a pointer to the IWMPContentPartnerCallback interface. This interface gives the online store a way to make calls into Windows Media Player to provide status information or to initiate specific processes, such as downloading a music track.

Windows Media Player and the plug-in run in separate processes. The plug-in is an in-process server that runs in the default DLL surrogate, dllhost.exe.

Related topics

About Type 1 Online Stores

IWMPContentPartner Interface

IWMPContentPartnerCallback Interface