From 63c087f1c36ab33fd1fea505f54e996d7305da53 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 4 Feb 2015 00:32:04 -0600 Subject: [PATCH] evr: Add stub dll. --- configure | 2 ++ configure.ac | 1 + dlls/evr/Makefile.in | 4 ++++ dlls/evr/evr.spec | 28 ++++++++++++++++++++++++++++ dlls/evr/main.c | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 72 insertions(+) create mode 100644 dlls/evr/Makefile.in create mode 100644 dlls/evr/evr.spec create mode 100644 dlls/evr/main.c diff --git a/configure b/configure index ae5e327a11f..acee984d669 100755 --- a/configure +++ b/configure @@ -1044,6 +1044,7 @@ enable_dwrite enable_dxdiagn enable_dxgi enable_dxva2 +enable_evr enable_explorerframe enable_ext_ms_win_gdi_devcaps_l1_1_0 enable_faultrep @@ -17226,6 +17227,7 @@ wine_fn_config_dll dxgi enable_dxgi implib wine_fn_config_test dlls/dxgi/tests dxgi_test wine_fn_config_lib dxguid wine_fn_config_dll dxva2 enable_dxva2 +wine_fn_config_dll evr enable_evr wine_fn_config_dll explorerframe enable_explorerframe clean wine_fn_config_test dlls/explorerframe/tests explorerframe_test wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0 diff --git a/configure.ac b/configure.ac index e8c2ae319fc..36474066a03 100644 --- a/configure.ac +++ b/configure.ac @@ -2940,6 +2940,7 @@ WINE_CONFIG_DLL(dxgi,,[implib]) WINE_CONFIG_TEST(dlls/dxgi/tests) WINE_CONFIG_LIB(dxguid) WINE_CONFIG_DLL(dxva2) +WINE_CONFIG_DLL(evr) WINE_CONFIG_DLL(explorerframe,,[clean]) WINE_CONFIG_TEST(dlls/explorerframe/tests) WINE_CONFIG_DLL(ext-ms-win-gdi-devcaps-l1-1-0) diff --git a/dlls/evr/Makefile.in b/dlls/evr/Makefile.in new file mode 100644 index 00000000000..25cc9612709 --- /dev/null +++ b/dlls/evr/Makefile.in @@ -0,0 +1,4 @@ +MODULE = evr.dll + +C_SRCS = \ + main.c diff --git a/dlls/evr/evr.spec b/dlls/evr/evr.spec new file mode 100644 index 00000000000..3f609b60379 --- /dev/null +++ b/dlls/evr/evr.spec @@ -0,0 +1,28 @@ +@ stub DllCanUnloadNow +@ stub DllGetClassObject +@ stub DllRegisterServer +@ stub DllUnregisterServer +@ stub MFConvertColorInfoFromDXVA +@ stub MFConvertColorInfoToDXVA +@ stub MFConvertFromFP16Array +@ stub MFConvertToFP16Array +@ stub MFCopyImage +@ stub MFCreateDXSurfaceBuffer +@ stub MFCreateVideoMediaType +@ stub MFCreateVideoMediaTypeFromBitMapInfoHeader +@ stub MFCreateVideoMediaTypeFromSubtype +@ stub MFCreateVideoMediaTypeFromVideoInfoHeader2 +@ stub MFCreateVideoMediaTypeFromVideoInfoHeader +@ stub MFCreateVideoMixer +@ stub MFCreateVideoMixerAndPresenter +@ stub MFCreateVideoOTA +@ stub MFCreateVideoPresenter2 +@ stub MFCreateVideoPresenter +@ stub MFCreateVideoSampleAllocator +@ stub MFCreateVideoSampleFromSurface +@ stub MFGetPlaneSize +@ stub MFGetStrideForBitmapInfoHeader +@ stub MFGetUncompressedVideoFormat +@ stub MFInitVideoFormat +@ stub MFInitVideoFormat_RGB +@ stub MFIsFormatYUV diff --git a/dlls/evr/main.c b/dlls/evr/main.c new file mode 100644 index 00000000000..1b223adc119 --- /dev/null +++ b/dlls/evr/main.c @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2015 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 + +#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; +} -- 2.11.4.GIT