EA Durbin : sxs: Add new dll stub.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 23 14:26:14 CDT 2007


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

Author: EA Durbin <ead1234 at hotmail.com>
Date:   Thu Apr 19 18:28:52 2007 -0500

sxs: Add new dll stub.

---

 Makefile.in          |    2 ++
 configure            |    3 +++
 configure.ac         |    1 +
 dlls/Makefile.in     |    1 +
 dlls/sxs/Makefile.in |   13 +++++++++++++
 dlls/sxs/sxs.c       |   45 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/sxs/sxs.spec    |    2 ++
 7 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 541ff0d..565871c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -369,6 +369,7 @@ ALL_MAKEFILES = \
 	dlls/sti/Makefile \
 	dlls/strmiids/Makefile \
 	dlls/svrapi/Makefile \
+	dlls/sxs/Makefile \
 	dlls/tapi32/Makefile \
 	dlls/twain_32/Makefile \
 	dlls/unicows/Makefile \
@@ -711,6 +712,7 @@ dlls/stdole32.tlb/Makefile: dlls/stdole32.tlb/Makefile.in dlls/Makedll.rules
 dlls/sti/Makefile: dlls/sti/Makefile.in dlls/Makedll.rules
 dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules
 dlls/svrapi/Makefile: dlls/svrapi/Makefile.in dlls/Makedll.rules
+dlls/sxs/Makefile: dlls/sxs/Makefile.in dlls/Makedll.rules
 dlls/tapi32/Makefile: dlls/tapi32/Makefile.in dlls/Makedll.rules
 dlls/twain_32/Makefile: dlls/twain_32/Makefile.in dlls/Makedll.rules
 dlls/unicows/Makefile: dlls/unicows/Makefile.in dlls/Makedll.rules
diff --git a/configure b/configure
index e086a93..e0790fc 100755
--- a/configure
+++ b/configure
@@ -20627,6 +20627,8 @@ ac_config_files="$ac_config_files dlls/strmiids/Makefile"
 
 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
 
+ac_config_files="$ac_config_files dlls/sxs/Makefile"
+
 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
 
 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
@@ -21636,6 +21638,7 @@ do
     "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
     "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
     "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
+    "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
     "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
     "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
     "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 5f718c7..6fd21b4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1704,6 +1704,7 @@ AC_CONFIG_FILES([dlls/stdole32.tlb/Makefile])
 AC_CONFIG_FILES([dlls/sti/Makefile])
 AC_CONFIG_FILES([dlls/strmiids/Makefile])
 AC_CONFIG_FILES([dlls/svrapi/Makefile])
+AC_CONFIG_FILES([dlls/sxs/Makefile])
 AC_CONFIG_FILES([dlls/tapi32/Makefile])
 AC_CONFIG_FILES([dlls/twain_32/Makefile])
 AC_CONFIG_FILES([dlls/unicows/Makefile])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index 7ec5711..6594762 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -171,6 +171,7 @@ BASEDIRS = \
 	stdole32.tlb \
 	sti \
 	svrapi \
+	sxs \
 	tapi32 \
 	twain_32 \
 	unicows \
diff --git a/dlls/sxs/Makefile.in b/dlls/sxs/Makefile.in
new file mode 100644
index 0000000..da028e4
--- /dev/null
+++ b/dlls/sxs/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = sxs.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	sxs.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/sxs/sxs.c b/dlls/sxs/sxs.c
new file mode 100644
index 0000000..cd64de5
--- /dev/null
+++ b/dlls/sxs/sxs.c
@@ -0,0 +1,45 @@
+/*
+ * sxs main
+ *
+ * Copyright 2007 EA Durbin
+ *
+ * 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 <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(sxs);
+
+
+/***********************************************************************
+ *             DllMain   (SXS.@)
+ *
+ */
+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;
+    }
+    return TRUE;
+}
diff --git a/dlls/sxs/sxs.spec b/dlls/sxs/sxs.spec
new file mode 100644
index 0000000..012d06b
--- /dev/null
+++ b/dlls/sxs/sxs.spec
@@ -0,0 +1,2 @@
+@ stub CreateAssemblyCache
+@ stub CreateAssemblyNameObject




More information about the wine-cvs mailing list