Add stub version of cryptdll.dll.

This commit is contained in:
Ulrich Czekalla 2005-01-24 19:07:16 +00:00 committed by Alexandre Julliard
parent f679490990
commit c173f6a756
7 changed files with 94 additions and 1 deletions

3
configure vendored

File diff suppressed because one or more lines are too long

View File

@ -1526,6 +1526,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

View File

@ -31,6 +31,7 @@ BASEDIRS = \
commdlg \
crtdll \
crypt32 \
cryptdll \
ctl3d \
d3dim \
d3drm \
@ -258,6 +259,7 @@ SYMLINKS_SO = \
comdlg32.dll.so \
crtdll.dll.so \
crypt32.dll.so \
cryptdll.dll.so \
ctl3d32.dll.so \
d3dim.dll.so \
d3drm.dll.so \
@ -460,6 +462,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 $@
@ -997,6 +1002,7 @@ IMPORT_LIBS = \
libcomdlg32.$(IMPLIBEXT) \
libcrtdll.$(IMPLIBEXT) \
libcrypt32.$(IMPLIBEXT) \
libcryptdll.$(IMPLIBEXT) \
libctl3d32.$(IMPLIBEXT) \
libd3d8.$(IMPLIBEXT) \
libd3d9.$(IMPLIBEXT) \
@ -1192,6 +1198,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
@ -1767,6 +1778,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)
@ -1900,6 +1912,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

3
dlls/cryptdll/.cvsignore Normal file
View File

@ -0,0 +1,3 @@
Makefile
cryptdll.dll.dbg.c
cryptdll.spec.def

13
dlls/cryptdll/Makefile.in Normal file
View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = cryptdll.dll
IMPORTS = kernel32
C_SRCS = \
cryptdll.c
@MAKE_DLL_RULES@
### Dependencies:

48
dlls/cryptdll/cryptdll.c Normal file
View File

@ -0,0 +1,48 @@
/*
* 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;
}

View File

@ -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