mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
42bdeaf52c
Original repo is here: https://github.com/microsoft/Windows-classic-samples Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1577>
46 lines
1.4 KiB
C
46 lines
1.4 KiB
C
//------------------------------------------------------------------------------
|
|
// File: DllSetup.h
|
|
//
|
|
// Desc: DirectShow base classes.
|
|
//
|
|
// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
// To be self registering, OLE servers must
|
|
// export functions named DllRegisterServer
|
|
// and DllUnregisterServer. To allow use of
|
|
// custom and default implementations the
|
|
// defaults are named AMovieDllRegisterServer
|
|
// and AMovieDllUnregisterServer.
|
|
//
|
|
// To the use the default implementation you
|
|
// must provide stub functions.
|
|
//
|
|
// i.e. STDAPI DllRegisterServer()
|
|
// {
|
|
// return AMovieDllRegisterServer();
|
|
// }
|
|
//
|
|
// STDAPI DllUnregisterServer()
|
|
// {
|
|
// return AMovieDllUnregisterServer();
|
|
// }
|
|
//
|
|
//
|
|
// AMovieDllRegisterServer calls IAMovieSetup.Register(), and
|
|
// AMovieDllUnregisterServer calls IAMovieSetup.Unregister().
|
|
|
|
STDAPI AMovieDllRegisterServer2( BOOL );
|
|
STDAPI AMovieDllRegisterServer();
|
|
STDAPI AMovieDllUnregisterServer();
|
|
|
|
// helper functions
|
|
STDAPI EliminateSubKey( HKEY, LPCTSTR );
|
|
|
|
|
|
STDAPI
|
|
AMovieSetupRegisterFilter2( const AMOVIESETUP_FILTER * const psetupdata
|
|
, IFilterMapper2 * pIFM2
|
|
, BOOL bRegister );
|
|
|