Share via


Windows Media Player 11 SDK Building the Plug-in for a Type 1 Online StoreĀ 

Windows Media Player SDK banner art

Previous Next

Building the Plug-in for a Type 1 Online Store

A type 1 online store must provide a plug-in that implements the IWMPContentPartner interface. The plug-in runs in a separate process from Windows Media Player.

The steps for creating a plug-in that runs out-of-process are as follows:

  1. Write your plug-in as if it were an in-process COM server.
  2. Create a DllSurrogate registry entry on the user's computer. The DllSurrogate entry informs the COM runtime that your plug-in should be created in an instance of the default DLL surrogate, dllhost.exe.

For detailed information about registering your plug-in, see Registry Keys and Entries for a Type 1 Online Store.

You do not need to create any proxy or stub code for your plug-in. All of the marshaling support is provided by Windows Media Player.

You can use the online store plug-in wizard to quickly create a plug-in that serves as a starting point. For more information, see Installing the Online Store Plug-in Wizard.

See Also

Previous Next