CRYPTDLL

Ulrich Czekalla ulrich.czekalla at utoronto.ca
Thu Jan 20 13:54:37 CST 2005


ChangeLog:
    Ulrich Czekalla <ulrich at codeweavers.com>
    Add stub version of cryptdll.dll
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /cvstrees/crossover/office/wine/configure.ac,v
retrieving revision 1.95
diff -u -p -r1.95 configure.ac
--- configure.ac	13 Jan 2005 14:17:58 -0000	1.95
+++ configure.ac	20 Jan 2005 19:17:43 -0000
@@ -1578,6 +1578,7 @@ dlls/comctl32/tests/Makefile
 dlls/commdlg/Makefile
 dlls/crtdll/Makefile
 dlls/crypt32/Makefile
+dlls/cryptdll/Makefile
 dlls/ctl3d/Makefile
 dlls/d3d8/Makefile
 dlls/d3d9/Makefile
Index: dlls/Makefile.in
===================================================================
RCS file: /cvstrees/crossover/office/wine/dlls/Makefile.in,v
retrieving revision 1.70
diff -u -p -r1.70 Makefile.in
--- dlls/Makefile.in	28 Nov 2004 16:23:50 -0000	1.70
+++ dlls/Makefile.in	20 Jan 2005 19:17:43 -0000
@@ -32,6 +32,7 @@ BASEDIRS = \
 	commdlg \
 	crtdll \
 	crypt32 \
+	cryptdll \
 	ctl3d \
 	d3dim \
 	d3drm \
@@ -264,6 +266,7 @@ SYMLINKS_SO = \
 	comdlg32.dll.so \
 	crtdll.dll.so \
 	crypt32.dll.so \
+	cryptdll.dll.so \
 	ctl3d32.dll.so \
 	d3dim.dll.so \
 	d3drm.dll.so \
@@ -473,6 +477,9 @@ crtdll.dll.so: crtdll/crtdll.dll.so
 crypt32.dll.so: crypt32/crypt32.dll.so
 	$(RM) $@ && $(LN_S) crypt32/crypt32.dll.so $@
 
+cryptdll.dll.so: cryptdll/cryptdll.dll.so
+	$(RM) $@ && $(LN_S) cryptdll/cryptdll.dll.so $@
+
 ctl3d32.dll.so: ctl3d/ctl3d32.dll.so
 	$(RM) $@ && $(LN_S) ctl3d/ctl3d32.dll.so $@
 
@@ -1023,6 +1033,7 @@ IMPORT_LIBS = \
 	libcomdlg32.$(IMPLIBEXT) \
 	libcrtdll.$(IMPLIBEXT) \
 	libcrypt32.$(IMPLIBEXT) \
+	libcryptdll.$(IMPLIBEXT) \
 	libctl3d32.$(IMPLIBEXT) \
 	libd3d8.$(IMPLIBEXT) \
 	libd3d9.$(IMPLIBEXT) \
@@ -1227,6 +1238,11 @@ libcrypt32.def: crypt32/crypt32.spec.def
 libcrypt32.a: crypt32/crypt32.spec.def
 	$(DLLTOOL) -k -l $@ -d crypt32/crypt32.spec.def
 
+libcryptdll.def: cryptdll/cryptdll.spec.def
+	$(RM) $@ && $(LN_S) cryptdll/cryptdll.spec.def $@
+libcryptdll.a: cryptdll/cryptdll.spec.def
+	$(DLLTOOL) -k -l $@ -d cryptdll/cryptdll.spec.def
+
 libctl3d32.def: ctl3d/ctl3d32.spec.def
 	$(RM) $@ && $(LN_S) ctl3d/ctl3d32.spec.def $@
 libctl3d32.a: ctl3d/ctl3d32.spec.def
@@ -1823,6 +1844,7 @@ comctl32/comctl32.spec.def: $(WINEBUILD)
 commdlg/comdlg32.spec.def: $(WINEBUILD)
 crtdll/crtdll.spec.def: $(WINEBUILD)
 crypt32/crypt32.spec.def: $(WINEBUILD)
+cryptdll/cryptdll.spec.def: $(WINEBUILD)
 ctl3d/ctl3d32.spec.def: $(WINEBUILD)
 d3d8/d3d8.spec.def: $(WINEBUILD)
 d3d9/d3d9.spec.def: $(WINEBUILD)
@@ -1961,6 +1984,7 @@ comctl32/comctl32.dll.so: comctl32
 commdlg/comdlg32.dll.so: commdlg
 crtdll/crtdll.dll.so: crtdll
 crypt32/crypt32.dll.so: crypt32
+cryptdll/cryptdll.dll.so: cryptdll
 ctl3d/ctl3d32.dll.so: ctl3d
 d3d8/d3d8.dll.so: d3d8
 d3d9/d3d9.dll.so: d3d9
--- /dev/null	2004-09-14 13:56:30.000000000 -0400
+++ dlls/cryptdll/Makefile.in	2005-01-20 13:25:48.000000000 -0500
@@ -0,0 +1,14 @@
+EXTRADEFS =
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = cryptdll.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	cryptdll.c
+
+ at MAKE_DLL_RULES@
+
+### Dependencies:
--- /dev/null	2004-09-14 13:56:30.000000000 -0400
+++ dlls/cryptdll/cryptdll.c	2005-01-20 13:00:42.000000000 -0500
@@ -0,0 +1,47 @@
+/* Copyright 2005 Ulrich Czekalla (For CodeWeavers)
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#include "config.h"
+#include <stdarg.h>
+#include <stdlib.h>
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(cryptdll);
+
+HMODULE CRYPTDLL_hModule = 0;
+
+BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+    TRACE("%p,%lx,%p\n", hinstDLL, fdwReason, lpvReserved);
+
+    switch (fdwReason) {
+        case DLL_PROCESS_ATTACH:
+        {
+            DisableThreadLibraryCalls(hinstDLL);
+            CRYPTDLL_hModule = hinstDLL;
+            break;
+        }
+        case DLL_PROCESS_DETACH:
+        {
+            break;
+        }
+    }
+
+    return TRUE;
+}
--- /dev/null	2004-09-14 13:56:30.000000000 -0400
+++ dlls/cryptdll/cryptdll.spec	2005-01-20 14:53:36.000000000 -0500
@@ -0,0 +1,14 @@
+@ stub CDBuildIntegrityVect
+@ stub CDBuildVect
+@ stub CDFindCommonCSystem
+@ stub CDFindCommonCSystemWithKey
+@ stub CDGenerateRandomBits
+@ stub CDLocateCSystem
+@ stub CDLocateCheckSum
+@ stub CDLocateRng
+@ stub CDRegisterCSystem
+@ stub CDRegisterCheckSum
+@ stub CDRegisterRng
+@ stub MD5Final
+@ stub MD5Init
+@ stub MD5Update


More information about the wine-patches mailing list