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

crypt32: Add BCryptEnumAlgorithms stub.

parent 8f3361b5
......@@ -14,7 +14,7 @@
@ stub BCryptDuplicateHash
@ stub BCryptDuplicateKey
@ stub BCryptEncrypt
@ stub BCryptEnumAlgorithms
@ stdcall BCryptEnumAlgorithms(long ptr ptr long)
@ stub BCryptEnumContextFunctionProviders
@ stub BCryptEnumContextFunctions
@ stub BCryptEnumContexts
......
......@@ -22,6 +22,7 @@
#include "wine/debug.h"
#include "winbase.h"
#include "bcrypt.h"
WINE_DEFAULT_DEBUG_CHANNEL(bcrypt);
......@@ -38,3 +39,14 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
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 @@
typedef LONG NTSTATUS;
#endif
typedef struct _BCRYPT_ALGORITHM_IDENTIFIER
{
LPWSTR pszName;
ULONG dwClass;
ULONG dwFlags;
} BCRYPT_ALGORITHM_IDENTIFIER;
#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