Austin English : windowscodecsext: Add a stub dll.

Alexandre Julliard julliard at winehq.org
Fri Feb 8 14:13:45 CST 2013


Module: wine
Branch: master
Commit: ac15301b7f7b415f3a2b57a4b6f09b506f194cd2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ac15301b7f7b415f3a2b57a4b6f09b506f194cd2

Author: Austin English <austinenglish at gmail.com>
Date:   Sat Feb  2 05:15:03 2013 +0100

windowscodecsext: Add a stub dll.

---

 configure                                   |    1 +
 configure.ac                                |    1 +
 dlls/windowscodecsext/Makefile.in           |    6 +++
 dlls/windowscodecsext/main.c                |   47 +++++++++++++++++++++++++++
 dlls/windowscodecsext/windowscodecsext.spec |    3 ++
 5 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index e3253ee..c5fabba 100755
--- a/configure
+++ b/configure
@@ -16184,6 +16184,7 @@ wine_fn_config_dll winaspi.dll16 enable_win16
 wine_fn_config_dll windebug.dll16 enable_win16
 wine_fn_config_dll windowscodecs enable_windowscodecs implib
 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
+wine_fn_config_dll windowscodecsext enable_windowscodecsext
 wine_fn_config_dll winealsa.drv enable_winealsa_drv
 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
 wine_fn_config_lib winecrt0
diff --git a/configure.ac b/configure.ac
index c93cd08..012228c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3068,6 +3068,7 @@ WINE_CONFIG_DLL(winaspi.dll16,enable_win16)
 WINE_CONFIG_DLL(windebug.dll16,enable_win16)
 WINE_CONFIG_DLL(windowscodecs,,[implib])
 WINE_CONFIG_TEST(dlls/windowscodecs/tests)
+WINE_CONFIG_DLL(windowscodecsext)
 WINE_CONFIG_DLL(winealsa.drv)
 WINE_CONFIG_DLL(winecoreaudio.drv)
 WINE_CONFIG_LIB(winecrt0)
diff --git a/dlls/windowscodecsext/Makefile.in b/dlls/windowscodecsext/Makefile.in
new file mode 100644
index 0000000..de6d06c
--- /dev/null
+++ b/dlls/windowscodecsext/Makefile.in
@@ -0,0 +1,6 @@
+MODULE    = windowscodecsext.dll
+
+C_SRCS = \
+	main.c
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/windowscodecsext/main.c b/dlls/windowscodecsext/main.c
new file mode 100644
index 0000000..608096e
--- /dev/null
+++ b/dlls/windowscodecsext/main.c
@@ -0,0 +1,47 @@
+/*
+ * Windows Codecs Extensions
+ *
+ * Copyright 2013 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"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
+{
+    TRACE("(%p, %u, %p)\n", instance, reason, reserved);
+
+    switch (reason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(instance);
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+    }
+
+    return TRUE;
+}
diff --git a/dlls/windowscodecsext/windowscodecsext.spec b/dlls/windowscodecsext/windowscodecsext.spec
new file mode 100644
index 0000000..d6b0e2b
--- /dev/null
+++ b/dlls/windowscodecsext/windowscodecsext.spec
@@ -0,0 +1,3 @@
+@ stub DllGetClassObject
+@ stub IWICColorTransform_Initialize_Proxy
+@ stub WICCreateColorTransform_Proxy




More information about the wine-cvs mailing list