[pkg-wine-party] [wine] 65/110: evr: Add stub dll.

Michael Gilbert mgilbert at moszumanska.debian.org
Fri Feb 13 05:05:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit 63c087f1c36ab33fd1fea505f54e996d7305da53
Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 4 00:32:04 2015 -0600

    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(+)

diff --git a/configure b/configure
index ae5e327..acee984 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 e8c2ae3..3647406 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 0000000..25cc961
--- /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 0000000..3f609b6
--- /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 0000000..1b223ad
--- /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 <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;
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list