IAMovieSetup Interface
Microsoft DirectShow 9.0 |
IAMovieSetup Interface
- **Note **This interface has been deprecated. It is used by two obsolete functions, AMovieDllRegisterServer and AMovieDllUnregisterServer. These functions are now replaced by AMovieDllRegisterServer2, which does not require IAMovieSetup. However, IAMovieSetup will continue to be supported for backward compatibility with existing applications.
In Microsoft® ActiveMovie® 1.0, filters implemented self-registration as follows:
- Inside the DllRegisterServer function, the filter's DLL called the AMovieDllRegisterServer function. This function queries each filter for its IAMovie interface and calls the IAMovieSetup::Register method.
- Inside the DllUnregisterServer function, the filter's DLL called the AMovieDllUnregisterServer function. This function also queries each filter for its IAMovie interface, but calls the IAMovieSetup::Unregister method.
As noted, you should now use the AMovieDllRegisterServer2 function. Filters registered with this function do not need to implement IAMovieSetup. For more information, see How to Register DirectShow Filters.
In addition to the methods inherited from IUnknown, the IAMovieSetup interface exposes the following methods.
Method | Description |
Register | Adds the filter to the registry. |
Unregister | Removes the filter from the registry. |
See Also