共用方式為


IAMovieSetup Interface

 
Microsoft DirectShow 9.0

IAMovieSetup Interface

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