sccbase: Add initial stub dll.

This commit is contained in:
Maarten Lankhorst 2008-02-17 18:20:32 -08:00 committed by Alexandre Julliard
parent c438d23902
commit 322d4cab1e
7 changed files with 92 additions and 0 deletions

View File

@ -385,6 +385,7 @@ ALL_MAKEFILES = \
dlls/rsaenh/Makefile \
dlls/rsaenh/tests/Makefile \
dlls/sane.ds/Makefile \
dlls/sccbase/Makefile \
dlls/schannel/Makefile \
dlls/schannel/tests/Makefile \
dlls/secur32/Makefile \
@ -780,6 +781,7 @@ dlls/rsabase/tests/Makefile: dlls/rsabase/tests/Makefile.in dlls/Maketest.rules
dlls/rsaenh/Makefile: dlls/rsaenh/Makefile.in dlls/Makedll.rules
dlls/rsaenh/tests/Makefile: dlls/rsaenh/tests/Makefile.in dlls/Maketest.rules
dlls/sane.ds/Makefile: dlls/sane.ds/Makefile.in dlls/Makedll.rules
dlls/sccbase/Makefile: dlls/sccbase/Makefile.in dlls/Makedll.rules
dlls/schannel/Makefile: dlls/schannel/Makefile.in dlls/Makedll.rules
dlls/schannel/tests/Makefile: dlls/schannel/tests/Makefile.in dlls/Maketest.rules
dlls/secur32/Makefile: dlls/secur32/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -21621,6 +21621,8 @@ ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
ac_config_files="$ac_config_files dlls/sccbase/Makefile"
ac_config_files="$ac_config_files dlls/schannel/Makefile"
ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
@ -22720,6 +22722,7 @@ do
"dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
"dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
"dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
"dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
"dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
"dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
"dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;

View File

@ -1884,6 +1884,7 @@ AC_CONFIG_FILES([dlls/rsabase/tests/Makefile])
AC_CONFIG_FILES([dlls/rsaenh/Makefile])
AC_CONFIG_FILES([dlls/rsaenh/tests/Makefile])
AC_CONFIG_FILES([dlls/sane.ds/Makefile])
AC_CONFIG_FILES([dlls/sccbase/Makefile])
AC_CONFIG_FILES([dlls/schannel/Makefile])
AC_CONFIG_FILES([dlls/schannel/tests/Makefile])
AC_CONFIG_FILES([dlls/secur32/Makefile])

View File

@ -183,6 +183,7 @@ BASEDIRS = \
rsabase \
rsaenh \
sane.ds \
sccbase \
schannel \
secur32 \
security \

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

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = sccbase.dll
IMPORTS = kernel32
C_SRCS = \
main.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

46
dlls/sccbase/main.c Normal file
View File

@ -0,0 +1,46 @@
/*
* Copyright 2008 Maarten Lankhorst
*
* 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(sccbase);
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;
}

26
dlls/sccbase/sccbase.spec Normal file
View File

@ -0,0 +1,26 @@
@ stub CPAcquireContext
@ stub CPAcquireContextW
@ stub CPCreateHash
@ stub CPDecrypt
@ stub CPDeriveKey
@ stub CPDestroyHash
@ stub CPDestroyKey
@ stub CPEncrypt
@ stub CPExportKey
@ stub CPGenKey
@ stub CPGenRandom
@ stub CPGetHashParam
@ stub CPGetKeyParam
@ stub CPGetProvParam
@ stub CPGetUserKey
@ stub CPHashData
@ stub CPHashSessionKey
@ stub CPImportKey
@ stub CPReleaseContext
@ stub CPSetHashParam
@ stub CPSetKeyParam
@ stub CPSetProvParam
@ stub CPSignHash
@ stub CPVerifySignature
@ stub DllRegisterServer
@ stub DllUnregisterServer