gpkcsp: Add initial stub dll.
diff --git a/Makefile.in b/Makefile.in
index c7a5306..9407b13 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -248,6 +248,7 @@
 	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/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
diff --git a/configure b/configure
index 758a851..4be76fb 100755
--- a/configure
+++ b/configure
@@ -21347,6 +21347,8 @@
 
 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 @@
     "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" ;;
diff --git a/configure.ac b/configure.ac
index bb8aac4..be7389b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1747,6 +1747,7 @@
 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])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index 6577b2a..3297a64 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -82,6 +82,7 @@
 	gdi32 \
 	gdiplus \
 	gphoto2.ds \
+	gpkcsp \
 	hal \
 	hhctrl.ocx \
 	hid \
diff --git a/dlls/gpkcsp/Makefile.in b/dlls/gpkcsp/Makefile.in
new file mode 100644
index 0000000..39d6a95
--- /dev/null
+++ b/dlls/gpkcsp/Makefile.in
@@ -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
diff --git a/dlls/gpkcsp/gpkcsp.spec b/dlls/gpkcsp/gpkcsp.spec
new file mode 100644
index 0000000..1f828b0
--- /dev/null
+++ b/dlls/gpkcsp/gpkcsp.spec
@@ -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
diff --git a/dlls/gpkcsp/main.c b/dlls/gpkcsp/main.c
new file mode 100644
index 0000000..b6d9f17
--- /dev/null
+++ b/dlls/gpkcsp/main.c
@@ -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;
+}