Author: akhaldi
Date: Mon Jan 23 13:30:23 2012
New Revision: 55099

URL: http://svn.reactos.org/svn/reactos?rev=55099&view=rev
Log:
[BCRYPT]
* Sync to Wine 1.3.37.

Modified:
    trunk/reactos/dll/win32/bcrypt/bcrypt.spec
    trunk/reactos/dll/win32/bcrypt/bcrypt_main.c
    trunk/reactos/include/psdk/bcrypt.h
    trunk/reactos/media/doc/README.WINE

Modified: trunk/reactos/dll/win32/bcrypt/bcrypt.spec
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/bcrypt/bcrypt.spec?rev=55099&r1=55098&r2=55099&view=diff
==============================================================================
--- trunk/reactos/dll/win32/bcrypt/bcrypt.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/bcrypt/bcrypt.spec [iso-8859-1] Mon Jan 23 13:30:23 
2012
@@ -14,7 +14,7 @@
 @ stub BCryptDuplicateHash
 @ stub BCryptDuplicateKey
 @ stub BCryptEncrypt
-@ stub BCryptEnumAlgorithms
+@ stdcall BCryptEnumAlgorithms(long ptr ptr long)
 @ stub BCryptEnumContextFunctionProviders
 @ stub BCryptEnumContextFunctions
 @ stub BCryptEnumContexts

Modified: trunk/reactos/dll/win32/bcrypt/bcrypt_main.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/bcrypt/bcrypt_main.c?rev=55099&r1=55098&r2=55099&view=diff
==============================================================================
--- trunk/reactos/dll/win32/bcrypt/bcrypt_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/bcrypt/bcrypt_main.c [iso-8859-1] Mon Jan 23 
13:30:23 2012
@@ -22,6 +22,9 @@
 #include "wine/debug.h"
 
 #include "winbase.h"
+#include "bcrypt.h"
+
+typedef LONG NTSTATUS;
 
 WINE_DEFAULT_DEBUG_CHANNEL(bcrypt);
 
@@ -38,3 +41,14 @@
 
     return TRUE;
 }
+
+NTSTATUS WINAPI BCryptEnumAlgorithms(ULONG dwAlgOperations, ULONG *pAlgCount,
+                                     BCRYPT_ALGORITHM_IDENTIFIER **ppAlgList, 
ULONG dwFlags)
+{
+    FIXME("%08x, %p, %p, %08x - stub\n", dwAlgOperations, pAlgCount, 
ppAlgList, dwFlags);
+
+    *ppAlgList=NULL;
+    *pAlgCount=0;
+
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}

Modified: trunk/reactos/include/psdk/bcrypt.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/bcrypt.h?rev=55099&r1=55098&r2=55099&view=diff
==============================================================================
--- trunk/reactos/include/psdk/bcrypt.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/bcrypt.h [iso-8859-1] Mon Jan 23 13:30:23 2012
@@ -35,4 +35,11 @@
 #define OPTIONAL
 #endif
 
+typedef struct _BCRYPT_ALGORITHM_IDENTIFIER
+{
+    LPWSTR pszName;
+    ULONG  dwClass;
+    ULONG  dwFlags;
+} BCRYPT_ALGORITHM_IDENTIFIER;
+
 #endif  /* __WINE_BCRYPT_H */

Modified: trunk/reactos/media/doc/README.WINE
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=55099&r1=55098&r2=55099&view=diff
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Mon Jan 23 13:30:23 2012
@@ -43,7 +43,7 @@
 reactos/dll/win32/advpack         # Synced to Wine-1.3.37
 reactos/dll/win32/atl             # Autosync
 reactos/dll/win32/avifil32        # Autosync
-reactos/dll/win32/bcrypt          # Autosync
+reactos/dll/win32/bcrypt          # Synced to Wine-1.3.37
 reactos/dll/win32/browseui        # Out of sync
 reactos/dll/win32/cabinet         # Autosync
 reactos/dll/win32/clusapi         # Autosync


Reply via email to