Update UNRAR.H
[xy_vsfilter.git] / src / filters / BaseClasses / dllsetup.h
blob0deaa2e67ef957f56d265d874f309312e72fe1a0
1 //------------------------------------------------------------------------------
2 // File: DllSetup.h
3 //
4 // Desc: DirectShow base classes.
5 //
6 // Copyright (c) 1992-2002 Microsoft Corporation. All rights reserved.
7 //------------------------------------------------------------------------------
10 // To be self registering, OLE servers must
11 // export functions named DllRegisterServer
12 // and DllUnregisterServer. To allow use of
13 // custom and default implementations the
14 // defaults are named AMovieDllRegisterServer
15 // and AMovieDllUnregisterServer.
17 // To the use the default implementation you
18 // must provide stub functions.
20 // i.e. STDAPI DllRegisterServer()
21 // {
22 // return AMovieDllRegisterServer();
23 // }
25 // STDAPI DllUnregisterServer()
26 // {
27 // return AMovieDllUnregisterServer();
28 // }
31 // AMovieDllRegisterServer calls IAMovieSetup.Register(), and
32 // AMovieDllUnregisterServer calls IAMovieSetup.Unregister().
34 STDAPI AMovieDllRegisterServer2( BOOL );
35 STDAPI AMovieDllRegisterServer();
36 STDAPI AMovieDllUnregisterServer();
38 // helper functions
39 STDAPI EliminateSubKey( HKEY, LPTSTR );
42 STDAPI
43 AMovieSetupRegisterFilter2( const AMOVIESETUP_FILTER * const psetupdata
44 , IFilterMapper2 * pIFM2
45 , BOOL bRegister );