bcrypt: Add stub for BCryptGetProperty.

This commit is contained in:
André Hentschel 2014-10-21 22:53:49 +02:00 committed by Alexandre Julliard
parent a60fadfad2
commit 574b30b685
3 changed files with 9 additions and 1 deletions

View File

@ -28,7 +28,7 @@
@ stub BCryptGenerateKeyPair
@ stub BCryptGenerateSymmetricKey
@ stdcall BCryptGetFipsAlgorithmMode(ptr)
@ stub BCryptGetProperty
@ stdcall BCryptGetProperty(ptr wstr ptr long ptr long)
@ stub BCryptHashData
@ stub BCryptImportKey
@ stub BCryptImportKeyPair

View File

@ -108,3 +108,10 @@ NTSTATUS WINAPI BCryptGetFipsAlgorithmMode(BOOLEAN *enabled)
*enabled = FALSE;
return STATUS_SUCCESS;
}
NTSTATUS WINAPI BCryptGetProperty(BCRYPT_HANDLE obj, LPCWSTR prop, UCHAR *buffer, ULONG count, ULONG *res, ULONG flags)
{
FIXME("%p, %s, %p, %u, %p, %08x - stub\n", obj, wine_dbgstr_w(prop), buffer, count, res, flags);
return STATUS_NOT_IMPLEMENTED;
}

View File

@ -48,6 +48,7 @@ typedef struct _BCRYPT_ALGORITHM_IDENTIFIER
} BCRYPT_ALGORITHM_IDENTIFIER;
typedef PVOID BCRYPT_ALG_HANDLE;
typedef PVOID BCRYPT_HANDLE;
#define BCRYPT_RNG_USE_ENTROPY_IN_BUFFER 0x00000001
#define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002