wmasf: Add stub dll.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2016-03-07 11:29:48 -06:00 committed by Alexandre Julliard
parent f729e62a27
commit 1d5a95ba20
5 changed files with 86 additions and 0 deletions

2
configure vendored
View File

@ -1387,6 +1387,7 @@ enable_wintab32
enable_wintrust enable_wintrust
enable_wlanapi enable_wlanapi
enable_wldap32 enable_wldap32
enable_wmasf
enable_wmi enable_wmi
enable_wmiutils enable_wmiutils
enable_wmp enable_wmp
@ -18053,6 +18054,7 @@ wine_fn_config_test dlls/wintrust/tests wintrust_test
wine_fn_config_dll wlanapi enable_wlanapi wine_fn_config_dll wlanapi enable_wlanapi
wine_fn_config_dll wldap32 enable_wldap32 clean,implib wine_fn_config_dll wldap32 enable_wldap32 clean,implib
wine_fn_config_test dlls/wldap32/tests wldap32_test wine_fn_config_test dlls/wldap32/tests wldap32_test
wine_fn_config_dll wmasf enable_wmasf
wine_fn_config_dll wmi enable_wmi wine_fn_config_dll wmi enable_wmi
wine_fn_config_dll wmiutils enable_wmiutils clean wine_fn_config_dll wmiutils enable_wmiutils clean
wine_fn_config_test dlls/wmiutils/tests wmiutils_test wine_fn_config_test dlls/wmiutils/tests wmiutils_test

View File

@ -3367,6 +3367,7 @@ WINE_CONFIG_TEST(dlls/wintrust/tests)
WINE_CONFIG_DLL(wlanapi) WINE_CONFIG_DLL(wlanapi)
WINE_CONFIG_DLL(wldap32,,[clean,implib]) WINE_CONFIG_DLL(wldap32,,[clean,implib])
WINE_CONFIG_TEST(dlls/wldap32/tests) WINE_CONFIG_TEST(dlls/wldap32/tests)
WINE_CONFIG_DLL(wmasf)
WINE_CONFIG_DLL(wmi) WINE_CONFIG_DLL(wmi)
WINE_CONFIG_DLL(wmiutils,,[clean]) WINE_CONFIG_DLL(wmiutils,,[clean])
WINE_CONFIG_TEST(dlls/wmiutils/tests) WINE_CONFIG_TEST(dlls/wmiutils/tests)

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

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

44
dlls/wmasf/main.c Normal file
View File

@ -0,0 +1,44 @@
/*
* WMASF.dll
*
* Copyright 2016 Austin English
*
* 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 <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmasf);
BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
{
TRACE("(0x%p, %d, %p)\n", dll, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(dll);
break;
default:
break;
}
return TRUE;
}

35
dlls/wmasf/wmasf.spec Normal file
View File

@ -0,0 +1,35 @@
@ stub ASFCreateLibrary
@ stub ASFGetHeaderObject
@ stub ASFGetRootObject
@ stub ASFGetStreamPropertiesObject
@ stub ASFFindHeaderObject
@ stub ASFFindRootObject
@ stub ASFFindStreamPropertiesObject
@ stub CreateAsfCellPoolAllocator
@ stub ASFCreateIndexMaker
@ stub ASFCreateIndexMakerFileSink
@ stub ASFAddPresDelta
@ stub ASFAddSendDelta
@ stub ASFGUIDFromCodecID
@ stub ASFGUIDToCodecID
@ stub ASFReadHeaderFromFile
@ stub ASFCalculatePresDelta
@ stub ASFCreateBitrateTracker
@ stub ASFWriteHeaderToFile
@ stub ASFCreateIOMonitor
@ stub ASFGetDataUnitInfo
@ stub ASFCreateMediaObjectIndexMaker
@ stub ASFCreateStreamSelector
@ stub ASFGetTimeBase
@ stub ASFPresDeltaTimeToTime
@ stub ASFPresDeltaToFull
@ stub ASFPresFullToDelta
@ stub ASFPresTimeToSendTime
@ stub ASFPresTimeToTime
@ stub ASFReadHeaderFromFileHandle
@ stub ASFSendTimeToPresTime
@ stub ASFSendTimeToTime
@ stub ASFSetDataUnitInfo
@ stub ASFTimeToPresDeltaTime
@ stub ASFTimeToPresTime
@ stub ASFTimeToSendTime