Austin English : wbemprox: Add stub dll.

Alexandre Julliard julliard at winehq.org
Wed May 6 10:33:16 CDT 2009


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed May  6 07:51:21 2009 -0500

wbemprox: Add stub dll.

---

 configure                   |    9 +++++++++
 configure.ac                |    1 +
 dlls/wbemprox/Makefile.in   |   13 +++++++++++++
 dlls/wbemprox/main.c        |   42 ++++++++++++++++++++++++++++++++++++++++++
 dlls/wbemprox/wbemprox.spec |    4 ++++
 5 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index e6459d6..98593e3 100755
--- a/configure
+++ b/configure
@@ -27318,6 +27318,14 @@ dlls/w32sys.dll16/Makefile: dlls/w32sys.dll16/Makefile.in dlls/Makedll.rules"
 ac_config_files="$ac_config_files dlls/w32sys.dll16/Makefile"
 
 ALL_MAKEFILES="$ALL_MAKEFILES \\
+	dlls/wbemprox/Makefile"
+test "x$enable_wbemprox" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
+	wbemprox"
+ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
+dlls/wbemprox/Makefile: dlls/wbemprox/Makefile.in dlls/Makedll.rules"
+ac_config_files="$ac_config_files dlls/wbemprox/Makefile"
+
+ALL_MAKEFILES="$ALL_MAKEFILES \\
 	dlls/win32s16.dll16/Makefile"
 test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
 	win32s16.dll16"
@@ -29326,6 +29334,7 @@ do
     "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
     "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
     "dlls/w32sys.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32sys.dll16/Makefile" ;;
+    "dlls/wbemprox/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wbemprox/Makefile" ;;
     "dlls/win32s16.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/win32s16.dll16/Makefile" ;;
     "dlls/win87em.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/win87em.dll16/Makefile" ;;
     "dlls/winaspi.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winaspi.dll16/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 7ab7077..4ab3f6a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2260,6 +2260,7 @@ WINE_CONFIG_MAKEFILE([dlls/vtdapi.vxd/Makefile],[dlls/Makedll.rules],[dlls],[ALL
 WINE_CONFIG_MAKEFILE([dlls/vwin32.vxd/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
 WINE_CONFIG_MAKEFILE([dlls/w32skrnl/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/w32sys.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
+WINE_CONFIG_MAKEFILE([dlls/wbemprox/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/win32s16.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
 WINE_CONFIG_MAKEFILE([dlls/win87em.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
 WINE_CONFIG_MAKEFILE([dlls/winaspi.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
diff --git a/dlls/wbemprox/Makefile.in b/dlls/wbemprox/Makefile.in
new file mode 100644
index 0000000..58aad37
--- /dev/null
+++ b/dlls/wbemprox/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = wbemprox.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/wbemprox/main.c b/dlls/wbemprox/main.c
new file mode 100644
index 0000000..89812b2
--- /dev/null
+++ b/dlls/wbemprox/main.c
@@ -0,0 +1,42 @@
+/*
+ *
+ * Copyright 2009 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 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/wbemprox/wbemprox.spec b/dlls/wbemprox/wbemprox.spec
new file mode 100644
index 0000000..c5fc87a
--- /dev/null
+++ b/dlls/wbemprox/wbemprox.spec
@@ -0,0 +1,4 @@
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub DllRegisterServer
+@ stub DllUnregisterServer




More information about the wine-cvs mailing list