slbcsp: Add initial stub dll.

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

View File

@ -406,6 +406,7 @@ ALL_MAKEFILES = \
dlls/shfolder/Makefile \
dlls/shlwapi/Makefile \
dlls/shlwapi/tests/Makefile \
dlls/slbcsp/Makefile \
dlls/snmpapi/Makefile \
dlls/snmpapi/tests/Makefile \
dlls/spoolss/Makefile \
@ -802,6 +803,7 @@ dlls/shell32/tests/Makefile: dlls/shell32/tests/Makefile.in dlls/Maketest.rules
dlls/shfolder/Makefile: dlls/shfolder/Makefile.in dlls/Makedll.rules
dlls/shlwapi/Makefile: dlls/shlwapi/Makefile.in dlls/Makedll.rules
dlls/shlwapi/tests/Makefile: dlls/shlwapi/tests/Makefile.in dlls/Maketest.rules
dlls/slbcsp/Makefile: dlls/slbcsp/Makefile.in dlls/Makedll.rules
dlls/snmpapi/Makefile: dlls/snmpapi/Makefile.in dlls/Makedll.rules
dlls/snmpapi/tests/Makefile: dlls/snmpapi/tests/Makefile.in dlls/Maketest.rules
dlls/spoolss/Makefile: dlls/spoolss/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -21663,6 +21663,8 @@ ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
@ -22743,6 +22745,7 @@ do
"dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
"dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
"dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
"dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
"dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
"dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
"dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;

View File

@ -1905,6 +1905,7 @@ AC_CONFIG_FILES([dlls/shell32/tests/Makefile])
AC_CONFIG_FILES([dlls/shfolder/Makefile])
AC_CONFIG_FILES([dlls/shlwapi/Makefile])
AC_CONFIG_FILES([dlls/shlwapi/tests/Makefile])
AC_CONFIG_FILES([dlls/slbcsp/Makefile])
AC_CONFIG_FILES([dlls/snmpapi/Makefile])
AC_CONFIG_FILES([dlls/snmpapi/tests/Makefile])
AC_CONFIG_FILES([dlls/spoolss/Makefile])

View File

@ -197,6 +197,7 @@ BASEDIRS = \
shell32 \
shfolder \
shlwapi \
slbcsp \
snmpapi \
spoolss \
stdole2.tlb \

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

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

46
dlls/slbcsp/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(slbcsp);
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;
}

27
dlls/slbcsp/slbcsp.spec Normal file
View File

@ -0,0 +1,27 @@
@ stub CPAcquireContext
@ stub CPSetHashParam
@ stub CPSetKeyParam
@ stub CPSetProvParam
@ stub CPCreateHash
@ stub CPDecrypt
@ stub CPDeriveKey
@ stub CPDestroyHash
@ stub CPDestroyKey
@ stub CPDuplicateHash
@ stub CPDuplicateKey
@ 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 CPSignHash
@ stub CPVerifySignature
@ stub DllRegisterServer
@ stub DllUnregisterServer