Austin English : photometadatahandler: Add stub dll.

Alexandre Julliard julliard at winehq.org
Fri Jan 13 11:44:31 CST 2012


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Jan 11 11:12:41 2012 -0800

photometadatahandler: Add stub dll.

---

 configure                                          |    1 +
 configure.ac                                       |    1 +
 dlls/photometadatahandler/Makefile.in              |    8 ++++
 dlls/photometadatahandler/main.c                   |   43 ++++++++++++++++++++
 dlls/photometadatahandler/photometadatahandler.rc  |   29 +++++++++++++
 .../photometadatahandler/photometadatahandler.spec |    4 ++
 6 files changed, 86 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 09b5cb4..59bcd7d 100755
--- a/configure
+++ b/configure
@@ -15228,6 +15228,7 @@ wine_fn_config_dll opengl32 enable_opengl32 implib
 wine_fn_config_test dlls/opengl32/tests opengl32_test
 wine_fn_config_dll pdh enable_pdh implib
 wine_fn_config_test dlls/pdh/tests pdh_test
+wine_fn_config_dll photometadatahandler enable_photometadatahandler
 wine_fn_config_dll pidgen enable_pidgen
 wine_fn_config_dll powrprof enable_powrprof implib
 wine_fn_config_dll printui enable_printui
diff --git a/configure.ac b/configure.ac
index 279339c..5dc111c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2737,6 +2737,7 @@ WINE_CONFIG_DLL(opengl32,,[implib])
 WINE_CONFIG_TEST(dlls/opengl32/tests)
 WINE_CONFIG_DLL(pdh,,[implib])
 WINE_CONFIG_TEST(dlls/pdh/tests)
+WINE_CONFIG_DLL(photometadatahandler)
 WINE_CONFIG_DLL(pidgen)
 WINE_CONFIG_DLL(powrprof,,[implib])
 WINE_CONFIG_DLL(printui)
diff --git a/dlls/photometadatahandler/Makefile.in b/dlls/photometadatahandler/Makefile.in
new file mode 100644
index 0000000..a4ce922
--- /dev/null
+++ b/dlls/photometadatahandler/Makefile.in
@@ -0,0 +1,8 @@
+MODULE = photometadatahandler.dll
+
+C_SRCS = \
+	main.c
+
+RC_SRCS = photometadatahandler.rc
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/photometadatahandler/main.c b/dlls/photometadatahandler/main.c
new file mode 100644
index 0000000..4de07a0
--- /dev/null
+++ b/dlls/photometadatahandler/main.c
@@ -0,0 +1,43 @@
+/*
+ * PhotoMetadataHandler implementation
+ *
+ * Copyright 2012 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"
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+    switch (fdwReason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hinstDLL);
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+    }
+
+    return TRUE;
+}
diff --git a/dlls/photometadatahandler/photometadatahandler.rc b/dlls/photometadatahandler/photometadatahandler.rc
new file mode 100644
index 0000000..7178e4f
--- /dev/null
+++ b/dlls/photometadatahandler/photometadatahandler.rc
@@ -0,0 +1,29 @@
+/*
+ * Resources for Photo Metadata Handler
+ *
+ * Copyright 2012 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
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine photometadatahandler dll"
+#define WINE_FILENAME_STR "photometadatahandler.dll"
+#define WINE_FILEVERSION 7,0,0,0
+#define WINE_FILEVERSION_STR "7.0.0.0"
+#define WINE_PRODUCTVERSION 7,0,0,0
+#define WINE_PRODUCTVERSION_STR "7.0.0.0"
+
+
+#include "wine/wine_common_ver.rc"
diff --git a/dlls/photometadatahandler/photometadatahandler.spec b/dlls/photometadatahandler/photometadatahandler.spec
new file mode 100644
index 0000000..c5fc87a
--- /dev/null
+++ b/dlls/photometadatahandler/photometadatahandler.spec
@@ -0,0 +1,4 @@
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub DllRegisterServer
+@ stub DllUnregisterServer




More information about the wine-cvs mailing list