Share via


Registering the Service Provider

banner art

In addition to being registered as a COM object, a service provider must be registered as a plug-in to Windows Media Device Manager. To register, a service provider must create the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Device Manager\Plugins\SP\<your service provider name>\ProgID

In this key, <your service provider name> is the name of your DLL; for example, the sample service provider uses MsHDSP. The ProgID key should have a string value that corresponds to the CLSID of your service provider. For instance, the sample service provider has the value "MDServiceProviderHD.MDServiceProviderHD".

The sample service provider's implementation of DLLRegisterServer in Mdsp.cpp adds this registry key when you register the sample service provider DLL.

See Also