mfreadwrite: Add stub dll.

This commit is contained in:
Austin English 2014-12-10 15:51:07 -08:00 committed by Alexandre Julliard
parent ae1f015dab
commit 89ecba6c48
5 changed files with 52 additions and 0 deletions

2
configure vendored
View File

@ -1097,6 +1097,7 @@ enable_mciqtz32
enable_mciseq enable_mciseq
enable_mciwave enable_mciwave
enable_mfplat enable_mfplat
enable_mfreadwrite
enable_mgmtapi enable_mgmtapi
enable_midimap enable_midimap
enable_mlang enable_mlang
@ -17180,6 +17181,7 @@ wine_fn_config_dll mciqtz32 enable_mciqtz32
wine_fn_config_dll mciseq enable_mciseq wine_fn_config_dll mciseq enable_mciseq
wine_fn_config_dll mciwave enable_mciwave wine_fn_config_dll mciwave enable_mciwave
wine_fn_config_dll mfplat enable_mfplat wine_fn_config_dll mfplat enable_mfplat
wine_fn_config_dll mfreadwrite enable_mfreadwrite
wine_fn_config_dll mgmtapi enable_mgmtapi wine_fn_config_dll mgmtapi enable_mgmtapi
wine_fn_config_dll midimap enable_midimap wine_fn_config_dll midimap enable_midimap
wine_fn_config_dll mlang enable_mlang clean,implib wine_fn_config_dll mlang enable_mlang clean,implib

View File

@ -3006,6 +3006,7 @@ WINE_CONFIG_DLL(mciqtz32)
WINE_CONFIG_DLL(mciseq) WINE_CONFIG_DLL(mciseq)
WINE_CONFIG_DLL(mciwave) WINE_CONFIG_DLL(mciwave)
WINE_CONFIG_DLL(mfplat) WINE_CONFIG_DLL(mfplat)
WINE_CONFIG_DLL(mfreadwrite)
WINE_CONFIG_DLL(mgmtapi) WINE_CONFIG_DLL(mgmtapi)
WINE_CONFIG_DLL(midimap) WINE_CONFIG_DLL(midimap)
WINE_CONFIG_DLL(mlang,,[clean,implib]) WINE_CONFIG_DLL(mlang,,[clean,implib])

View File

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

38
dlls/mfreadwrite/main.c Normal file
View File

@ -0,0 +1,38 @@
/*
*
* Copyright 2014 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 "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
break;
}
return TRUE;
}

View File

@ -0,0 +1,7 @@
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub MFCreateSinkWriterFromMediaSink
@ stub MFCreateSinkWriterFromURL
@ stub MFCreateSourceReaderFromByteStream
@ stub MFCreateSourceReaderFromMediaSource
@ stub MFCreateSourceReaderFromURL