James Hawkins : itircl: Add a stub implementation of itircl.dll.
Alexandre Julliard
julliard at winehq.org
Sat Feb 16 09:57:35 CST 2008
Module: wine
Branch: master
Commit: 58b0686e951364686c3b5b55c18566df0960fd96
URL: http://source.winehq.org/git/wine.git/?a=commit;h=58b0686e951364686c3b5b55c18566df0960fd96
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Fri Feb 15 17:39:46 2008 -0600
itircl: Add a stub implementation of itircl.dll.
---
Makefile.in | 2 +
configure | 3 ++
configure.ac | 1 +
dlls/Makefile.in | 1 +
dlls/itircl/Makefile.in | 13 ++++++++++++
dlls/itircl/itircl.spec | 4 +++
dlls/itircl/itircl_main.c | 49 +++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 5558f39..4b4fcf1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -268,6 +268,7 @@ ALL_MAKEFILES = \
dlls/inseng/Makefile \
dlls/iphlpapi/Makefile \
dlls/iphlpapi/tests/Makefile \
+ dlls/itircl/Makefile \
dlls/itss/Makefile \
dlls/itss/tests/Makefile \
dlls/kernel32/Makefile \
@@ -658,6 +659,7 @@ dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules
dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules
dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules
dlls/iphlpapi/tests/Makefile: dlls/iphlpapi/tests/Makefile.in dlls/Maketest.rules
+dlls/itircl/Makefile: dlls/itircl/Makefile.in dlls/Makedll.rules
dlls/itss/Makefile: dlls/itss/Makefile.in dlls/Makedll.rules
dlls/itss/tests/Makefile: dlls/itss/tests/Makefile.in dlls/Maketest.rules
dlls/kernel32/Makefile: dlls/kernel32/Makefile.in dlls/Makedll.rules
diff --git a/configure b/configure
index e16fd36..0eb274a 100755
--- a/configure
+++ b/configure
@@ -21387,6 +21387,8 @@ ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
+ac_config_files="$ac_config_files dlls/itircl/Makefile"
+
ac_config_files="$ac_config_files dlls/itss/Makefile"
ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
@@ -22593,6 +22595,7 @@ do
"dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
"dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
"dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
+ "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
"dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
"dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
"dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 21f07c6..a9252e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1767,6 +1767,7 @@ AC_CONFIG_FILES([dlls/inkobj/Makefile])
AC_CONFIG_FILES([dlls/inseng/Makefile])
AC_CONFIG_FILES([dlls/iphlpapi/Makefile])
AC_CONFIG_FILES([dlls/iphlpapi/tests/Makefile])
+AC_CONFIG_FILES([dlls/itircl/Makefile])
AC_CONFIG_FILES([dlls/itss/Makefile])
AC_CONFIG_FILES([dlls/itss/tests/Makefile])
AC_CONFIG_FILES([dlls/kernel32/Makefile])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index 4d02b13..d29aafb 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -97,6 +97,7 @@ BASEDIRS = \
inkobj \
inseng \
iphlpapi \
+ itircl \
itss \
kernel32 \
localspl \
diff --git a/dlls/itircl/Makefile.in b/dlls/itircl/Makefile.in
new file mode 100644
index 0000000..9787cb5
--- /dev/null
+++ b/dlls/itircl/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = itircl.dll
+IMPORTS = kernel32
+
+C_SRCS = \
+ itircl_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/dlls/itircl/itircl.spec b/dlls/itircl/itircl.spec
new file mode 100644
index 0000000..c5fc87a
--- /dev/null
+++ b/dlls/itircl/itircl.spec
@@ -0,0 +1,4 @@
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub DllRegisterServer
+@ stub DllUnregisterServer
diff --git a/dlls/itircl/itircl_main.c b/dlls/itircl/itircl_main.c
new file mode 100644
index 0000000..e8279cc
--- /dev/null
+++ b/dlls/itircl/itircl_main.c
@@ -0,0 +1,49 @@
+/*
+ * itircl main
+ *
+ * Copyright 2008 James Hawkins
+ *
+ * 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(itircl);
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+ TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
+
+ switch (fdwReason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(hinstDLL);
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ default:
+ break;
+ }
+
+ return TRUE;
+}
More information about the wine-cvs
mailing list