Commit 66db40e8 authored by David Hedberg's avatar David Hedberg Committed by Alexandre Julliard

crypt32: Add BCryptEnumAlgorithms stub.

parent 8f3361b5
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
@ stub BCryptDuplicateHash @ stub BCryptDuplicateHash
@ stub BCryptDuplicateKey @ stub BCryptDuplicateKey
@ stub BCryptEncrypt @ stub BCryptEncrypt
@ stub BCryptEnumAlgorithms @ stdcall BCryptEnumAlgorithms(long ptr ptr long)
@ stub BCryptEnumContextFunctionProviders @ stub BCryptEnumContextFunctionProviders
@ stub BCryptEnumContextFunctions @ stub BCryptEnumContextFunctions
@ stub BCryptEnumContexts @ stub BCryptEnumContexts
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "wine/debug.h" #include "wine/debug.h"
#include "winbase.h" #include "winbase.h"
#include "bcrypt.h"
WINE_DEFAULT_DEBUG_CHANNEL(bcrypt); WINE_DEFAULT_DEBUG_CHANNEL(bcrypt);
...@@ -38,3 +39,14 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) ...@@ -38,3 +39,14 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
return TRUE; 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;
}
...@@ -40,4 +40,11 @@ ...@@ -40,4 +40,11 @@
typedef LONG NTSTATUS; typedef LONG NTSTATUS;
#endif #endif
typedef struct _BCRYPT_ALGORITHM_IDENTIFIER
{
LPWSTR pszName;
ULONG dwClass;
ULONG dwFlags;
} BCRYPT_ALGORITHM_IDENTIFIER;
#endif /* __WINE_BCRYPT_H */ #endif /* __WINE_BCRYPT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment