[PATCH] ncrypt: Add NCryptIsKeyHandle stub
Vitaly Lipatov
lav at etersoft.ru
Sat Oct 24 07:34:08 CDT 2020
Signed-off-by: Vitaly Lipatov <lav at etersoft.ru>
---
dlls/ncrypt/main.c | 6 ++++++
dlls/ncrypt/ncrypt.spec | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/dlls/ncrypt/main.c b/dlls/ncrypt/main.c
index c0cc05c43ca..a8dda3c54a0 100644
--- a/dlls/ncrypt/main.c
+++ b/dlls/ncrypt/main.c
@@ -132,6 +132,12 @@ SECURITY_STATUS WINAPI NCryptIsAlgSupported(NCRYPT_PROV_HANDLE provider, const W
return NTE_NOT_SUPPORTED;
}
+BOOL WINAPI NCryptIsKeyHandle(NCRYPT_KEY_HANDLE hKey)
+{
+ FIXME("(0x%lx): stub\n", hKey);
+ return FALSE;
+}
+
SECURITY_STATUS WINAPI NCryptOpenKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE *key,
const WCHAR *name, DWORD keyspec, DWORD flags)
{
diff --git a/dlls/ncrypt/ncrypt.spec b/dlls/ncrypt/ncrypt.spec
index 2b5a4fca420..0e92609790c 100644
--- a/dlls/ncrypt/ncrypt.spec
+++ b/dlls/ncrypt/ncrypt.spec
@@ -78,7 +78,7 @@
@ stub NCryptGetProtectionDescriptorInfo
@ stdcall NCryptImportKey(long long wstr ptr ptr ptr long long)
@ stub NCryptIsAlgSupported(long wstr long)
-@ stub NCryptIsKeyHandle
+@ stdcall NCryptIsKeyHandle(long)
@ stub NCryptKeyDerivation
@ stub NCryptNotifyChangeKey
@ stdcall NCryptOpenKey(long ptr wstr long long)
--
2.25.4
More information about the wine-devel
mailing list