crypt32: Add BCryptEnumAlgorithms stub.

This commit is contained in:
David Hedberg 2011-05-30 12:45:30 +02:00 committed by Alexandre Julliard
parent 8f3361b51d
commit 66db40e891
3 changed files with 20 additions and 1 deletions

View File

@ -14,7 +14,7 @@
@ stub BCryptDuplicateHash
@ stub BCryptDuplicateKey
@ stub BCryptEncrypt
@ stub BCryptEnumAlgorithms
@ stdcall BCryptEnumAlgorithms(long ptr ptr long)
@ stub BCryptEnumContextFunctionProviders
@ stub BCryptEnumContextFunctions
@ stub BCryptEnumContexts

View File

@ -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;
}

View File

@ -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 */