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.

About Type 1 Online Stores

IWMPContentPartner Interface

IWMPContentPartnerCallback Interface