strmdll: Add stub dll.

Signed-off-by: Stefan Leichter <sle85276@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Stefan Leichter 2018-03-18 23:49:33 +01:00 committed by Alexandre Julliard
parent cbd9354862
commit 13861b7952
5 changed files with 53 additions and 0 deletions

2
configure vendored
View File

@ -1512,6 +1512,7 @@ enable_stdole2_tlb
enable_stdole32_tlb enable_stdole32_tlb
enable_sti enable_sti
enable_strmbase enable_strmbase
enable_strmdll
enable_strmiids enable_strmiids
enable_svrapi enable_svrapi
enable_sxs enable_sxs
@ -19005,6 +19006,7 @@ wine_fn_config_makefile dlls/sti/tests enable_tests
wine_fn_config_makefile dlls/storage.dll16 enable_win16 wine_fn_config_makefile dlls/storage.dll16 enable_win16
wine_fn_config_makefile dlls/stress.dll16 enable_win16 wine_fn_config_makefile dlls/stress.dll16 enable_win16
wine_fn_config_makefile dlls/strmbase enable_strmbase wine_fn_config_makefile dlls/strmbase enable_strmbase
wine_fn_config_makefile dlls/strmdll enable_strmdll
wine_fn_config_makefile dlls/strmiids enable_strmiids wine_fn_config_makefile dlls/strmiids enable_strmiids
wine_fn_config_makefile dlls/svrapi enable_svrapi wine_fn_config_makefile dlls/svrapi enable_svrapi
wine_fn_config_makefile dlls/sxs enable_sxs wine_fn_config_makefile dlls/sxs enable_sxs

View File

@ -3631,6 +3631,7 @@ WINE_CONFIG_MAKEFILE(dlls/sti/tests)
WINE_CONFIG_MAKEFILE(dlls/storage.dll16,enable_win16) WINE_CONFIG_MAKEFILE(dlls/storage.dll16,enable_win16)
WINE_CONFIG_MAKEFILE(dlls/stress.dll16,enable_win16) WINE_CONFIG_MAKEFILE(dlls/stress.dll16,enable_win16)
WINE_CONFIG_MAKEFILE(dlls/strmbase) WINE_CONFIG_MAKEFILE(dlls/strmbase)
WINE_CONFIG_MAKEFILE(dlls/strmdll)
WINE_CONFIG_MAKEFILE(dlls/strmiids) WINE_CONFIG_MAKEFILE(dlls/strmiids)
WINE_CONFIG_MAKEFILE(dlls/svrapi) WINE_CONFIG_MAKEFILE(dlls/svrapi)
WINE_CONFIG_MAKEFILE(dlls/sxs) WINE_CONFIG_MAKEFILE(dlls/sxs)

4
dlls/strmdll/Makefile.in Normal file
View File

@ -0,0 +1,4 @@
MODULE = strmdll.dll
C_SRCS = \
main.c

41
dlls/strmdll/main.c Normal file
View File

@ -0,0 +1,41 @@
/*
* Copyright 2018 Stefan Leichter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(strmdll);
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID lpv)
{
TRACE("(%p, %d, %p)\n", hInstDLL, reason, lpv);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstDLL);
break;
}
return TRUE;
}

View File

@ -0,0 +1,5 @@
@ stub CreateAsfFormatSet
@ stub NSSecurityLibraryInit
@ stub SelectCrabis
@ stub SelectHelper
@ stub SelectMediaStream