gpkcsp: Add initial stub dll.

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

View File

@ -248,6 +248,7 @@ ALL_MAKEFILES = \
dlls/gdiplus/tests/Makefile \
dlls/glu32/Makefile \
dlls/gphoto2.ds/Makefile \
dlls/gpkcsp/Makefile \
dlls/hal/Makefile \
dlls/hhctrl.ocx/Makefile \
dlls/hid/Makefile \
@ -640,6 +641,7 @@ dlls/gdiplus/Makefile: dlls/gdiplus/Makefile.in dlls/Makedll.rules
dlls/gdiplus/tests/Makefile: dlls/gdiplus/tests/Makefile.in dlls/Maketest.rules
dlls/glu32/Makefile: dlls/glu32/Makefile.in dlls/Makedll.rules
dlls/gphoto2.ds/Makefile: dlls/gphoto2.ds/Makefile.in dlls/Makedll.rules
dlls/gpkcsp/Makefile: dlls/gpkcsp/Makefile.in dlls/Makedll.rules
dlls/hal/Makefile: dlls/hal/Makefile.in dlls/Makedll.rules
dlls/hhctrl.ocx/Makefile: dlls/hhctrl.ocx/Makefile.in dlls/Makedll.rules
dlls/hid/Makefile: dlls/hid/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -21347,6 +21347,8 @@ ac_config_files="$ac_config_files dlls/glu32/Makefile"
ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
ac_config_files="$ac_config_files dlls/hal/Makefile"
ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
@ -22577,6 +22579,7 @@ do
"dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
"dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
"dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
"dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
"dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
"dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
"dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;

View File

@ -1747,6 +1747,7 @@ AC_CONFIG_FILES([dlls/gdiplus/Makefile])
AC_CONFIG_FILES([dlls/gdiplus/tests/Makefile])
AC_CONFIG_FILES([dlls/glu32/Makefile])
AC_CONFIG_FILES([dlls/gphoto2.ds/Makefile])
AC_CONFIG_FILES([dlls/gpkcsp/Makefile])
AC_CONFIG_FILES([dlls/hal/Makefile])
AC_CONFIG_FILES([dlls/hhctrl.ocx/Makefile])
AC_CONFIG_FILES([dlls/hid/Makefile])

View File

@ -82,6 +82,7 @@ BASEDIRS = \
gdi32 \
gdiplus \
gphoto2.ds \
gpkcsp \
hal \
hhctrl.ocx \
hid \

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

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

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

@ -0,0 +1,26 @@
@ stub CPAcquireContext
@ 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
@ stdcall DllMain(ptr long ptr)
@ stub DllRegisterServer
@ stub DllUnregisterServer

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