ncrypt: Add NCryptEnumKeys stub.
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2321adb1c8
commit
2f6735e821
|
@ -76,6 +76,13 @@ SECURITY_STATUS WINAPI NCryptEnumAlgorithms(NCRYPT_PROV_HANDLE provider, DWORD a
|
|||
return NTE_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
SECURITY_STATUS WINAPI NCryptEnumKeys(NCRYPT_PROV_HANDLE provider, const WCHAR *scope,
|
||||
NCryptKeyName **key_name, PVOID *enum_state, DWORD flags)
|
||||
{
|
||||
FIXME("(0x%lx, %p, %p, %p, 0x%08x): stub\n", provider, scope, key_name, enum_state, flags);
|
||||
return NTE_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
SECURITY_STATUS WINAPI NCryptFinalizeKey(NCRYPT_KEY_HANDLE key, DWORD flags)
|
||||
{
|
||||
FIXME("(0x%lx, 0x%08x): stub\n", key, flags);
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
@ stub NCryptDuplicateKeyProtectorHandle
|
||||
@ stdcall NCryptEncrypt(long ptr long ptr ptr long ptr long)
|
||||
@ stdcall NCryptEnumAlgorithms(long long ptr ptr long)
|
||||
@ stub NCryptEnumKeys
|
||||
@ stdcall NCryptEnumKeys(long wstr ptr ptr long)
|
||||
@ stub NCryptEnumStorageProviders
|
||||
@ stub NCryptExportKey
|
||||
@ stdcall NCryptFinalizeKey(long long)
|
||||
|
|
|
@ -39,6 +39,13 @@ typedef struct _NCryptAlgorithmName {
|
|||
DWORD dwFlags;
|
||||
} NCryptAlgorithmName;
|
||||
|
||||
typedef struct NCryptKeyName {
|
||||
LPWSTR pszName;
|
||||
LPWSTR pszAlgid;
|
||||
DWORD dwLegacyKeySpec;
|
||||
DWORD dwFlags;
|
||||
} NCryptKeyName;
|
||||
|
||||
typedef ULONG_PTR NCRYPT_HANDLE;
|
||||
typedef ULONG_PTR NCRYPT_PROV_HANDLE;
|
||||
typedef ULONG_PTR NCRYPT_KEY_HANDLE;
|
||||
|
|
Loading…
Reference in New Issue