Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.3 KiB

  1. //------------------------------------------------------------------------------
  2. // File: DllSetup.h
  3. //
  4. // Desc: DirectShow base classes.
  5. //
  6. // Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved.
  7. //------------------------------------------------------------------------------
  8. // To be self registering, OLE servers must
  9. // export functions named DllRegisterServer
  10. // and DllUnregisterServer. To allow use of
  11. // custom and default implementations the
  12. // defaults are named AMovieDllRegisterServer
  13. // and AMovieDllUnregisterServer.
  14. //
  15. // To the use the default implementation you
  16. // must provide stub functions.
  17. //
  18. // i.e. STDAPI DllRegisterServer()
  19. // {
  20. // return AMovieDllRegisterServer();
  21. // }
  22. //
  23. // STDAPI DllUnregisterServer()
  24. // {
  25. // return AMovieDllUnregisterServer();
  26. // }
  27. //
  28. //
  29. // AMovieDllRegisterServer calls IAMovieSetup.Register(), and
  30. // AMovieDllUnregisterServer calls IAMovieSetup.Unregister().
  31. STDAPI AMovieDllRegisterServer2( BOOL );
  32. STDAPI AMovieDllRegisterServer();
  33. STDAPI AMovieDllUnregisterServer();
  34. // helper functions
  35. STDAPI EliminateSubKey( HKEY, LPTSTR );
  36. STDAPI
  37. AMovieSetupRegisterFilter2( const AMOVIESETUP_FILTER * const psetupdata
  38. , IFilterMapper2 * pIFM2
  39. , BOOL bRegister );