Share via


Windows Media Player 11 SDK Registering DSP Plug-insĀ 

Windows Media Player SDK banner art

Previous Next

Registering DSP Plug-ins

Like other COM DLLs, you must register Windows Media Player DSP plug-ins to make them useable. Typically, use the regsvr32.exe utility to manually perform registration tasks. The Windows Media Player Plug-in Wizard creates files that contain registration scripts. These files have an .rgs file name extension. You can also create a setup program that copies your files and registers the DLLs.

You must implement the registration methods on the IWMPMediaPluginRegistrar interface in the implementation blocks of the DllRegisterServer and the DllUnregisterServer functions, which are functions that are exported by COM DLLs. The Windows Media Player registration methods perform the necessary registration housekeeping to enable Windows Media Player to recognize your DLL file as a Windows Media Player plug-in so that it can be presented as an option to the user.

For a DSP plug-in to work in Windows Media Player 11, the DSP plug-in provider must also register a proxy/stub DLL to enable COM marshaling of custom interfaces. For example, the Windows Media Player plug-in wizard creates sample DSP plug-ins that use a custom interface to communicate changes in settings from a property page dialog box to the plug-in class. Method calls made through this interface must be marshaled when the calls are made across process or apartment boundaries. The latest version of the plug-in wizard creates a sample proxy/stub DLL project.

See Also

Previous Next