Module: wine Branch: master Commit: 1d5a95ba20eb3dbe69a33a6a1e57dccdc336f6a2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d5a95ba20eb3dbe69a33a6a1e...
Author: Austin English austinenglish@gmail.com Date: Mon Mar 7 11:29:48 2016 -0600
wmasf: Add stub dll.
Signed-off-by: Austin English austinenglish@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
configure | 2 ++ configure.ac | 1 + dlls/wmasf/Makefile.in | 4 ++++ dlls/wmasf/main.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ dlls/wmasf/wmasf.spec | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 86 insertions(+)
diff --git a/configure b/configure index bee8e6b..0985314 100755 --- a/configure +++ b/configure @@ -1387,6 +1387,7 @@ enable_wintab32 enable_wintrust enable_wlanapi enable_wldap32 +enable_wmasf enable_wmi enable_wmiutils 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 wldap32 enable_wldap32 clean,implib 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 wmiutils enable_wmiutils clean wine_fn_config_test dlls/wmiutils/tests wmiutils_test diff --git a/configure.ac b/configure.ac index 09e0f53..ffcb01f 100644 --- a/configure.ac +++ b/configure.ac @@ -3367,6 +3367,7 @@ WINE_CONFIG_TEST(dlls/wintrust/tests) WINE_CONFIG_DLL(wlanapi) WINE_CONFIG_DLL(wldap32,,[clean,implib]) WINE_CONFIG_TEST(dlls/wldap32/tests) +WINE_CONFIG_DLL(wmasf) WINE_CONFIG_DLL(wmi) WINE_CONFIG_DLL(wmiutils,,[clean]) WINE_CONFIG_TEST(dlls/wmiutils/tests) diff --git a/dlls/wmasf/Makefile.in b/dlls/wmasf/Makefile.in new file mode 100644 index 0000000..6fec158 --- /dev/null +++ b/dlls/wmasf/Makefile.in @@ -0,0 +1,4 @@ +MODULE = wmasf.dll + +C_SRCS = \ + main.c diff --git a/dlls/wmasf/main.c b/dlls/wmasf/main.c new file mode 100644 index 0000000..baf7619 --- /dev/null +++ b/dlls/wmasf/main.c @@ -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; +} diff --git a/dlls/wmasf/wmasf.spec b/dlls/wmasf/wmasf.spec new file mode 100644 index 0000000..80624e9 --- /dev/null +++ b/dlls/wmasf/wmasf.spec @@ -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