bcrypt: Add a mostly empty bcrypt.dll.

Henri Verbeet hverbeet at codeweavers.com
Thu Mar 26 04:43:41 CDT 2009


This is the "Cryptography API: Next Generation" introduced by Vista.
---
 dlls/bcrypt/Makefile.in   |   15 +++++++++++++++
 dlls/bcrypt/bcrypt_main.c |   40 ++++++++++++++++++++++++++++++++++++++++
 dlls/bcrypt/version.rc    |   26 ++++++++++++++++++++++++++
 3 files changed, 81 insertions(+), 0 deletions(-)
 create mode 100644 dlls/bcrypt/Makefile.in
 create mode 100644 dlls/bcrypt/bcrypt.spec
 create mode 100644 dlls/bcrypt/bcrypt_main.c
 create mode 100644 dlls/bcrypt/version.rc

diff --git a/dlls/bcrypt/Makefile.in b/dlls/bcrypt/Makefile.in
new file mode 100644
index 0000000..ec26227
--- /dev/null
+++ b/dlls/bcrypt/Makefile.in
@@ -0,0 +1,15 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = bcrypt.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	bcrypt_main.c
+
+RC_SRCS = version.rc
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/bcrypt/bcrypt.spec b/dlls/bcrypt/bcrypt.spec
new file mode 100644
index 0000000..e69de29
diff --git a/dlls/bcrypt/bcrypt_main.c b/dlls/bcrypt/bcrypt_main.c
new file mode 100644
index 0000000..abe9750
--- /dev/null
+++ b/dlls/bcrypt/bcrypt_main.c
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2009 Henri Verbeet 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ *
+ */
+
+#include "config.h"
+#include "wine/port.h"
+#include "wine/debug.h"
+
+#include "winbase.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(bcrypt);
+
+BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
+{
+    TRACE("fdwReason %u\n", fdwReason);
+
+    switch(fdwReason)
+    {
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hInstDLL);
+            break;
+    }
+
+    return TRUE;
+}
diff --git a/dlls/bcrypt/version.rc b/dlls/bcrypt/version.rc
new file mode 100644
index 0000000..54253a9
--- /dev/null
+++ b/dlls/bcrypt/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2009 Henri Verbeet 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine Crypto Library"
+#define WINE_FILENAME_STR "bcrypt.dll"
+#define WINE_FILEVERSION 6,0,6000,16386
+#define WINE_FILEVERSION_STR "6.0.6000.16386"
+#define WINE_PRODUCTVERSION 6,0,6000,16386
+#define WINE_PRODUCTVERSION_STR "6.0.6000.16386"
+
+#include "wine/wine_common_ver.rc"
-- 
1.6.0.6



--------------070902090205060703090007--



More information about the wine-patches mailing list