Joseph Kogut : ncrypt: Add NCryptFreeBuffer stub.

Alexandre Julliard julliard at winehq.org
Mon Oct 7 17:02:15 CDT 2019


Module: wine
Branch: master
Commit: ff885a810dd44901b8528c0c7365741e1c815c4f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ff885a810dd44901b8528c0c7365741e1c815c4f

Author: Joseph Kogut <joseph.kogut at gmail.com>
Date:   Fri Oct  4 18:27:08 2019 -0700

ncrypt: Add NCryptFreeBuffer stub.

Signed-off-by: Joseph Kogut <joseph.kogut at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 1e8fe93244..6022d20ca0 100644
--- a/dlls/ncrypt/main.c
+++ b/dlls/ncrypt/main.c
@@ -89,6 +89,12 @@ SECURITY_STATUS WINAPI NCryptFinalizeKey(NCRYPT_KEY_HANDLE key, DWORD flags)
     return NTE_NOT_SUPPORTED;
 }
 
+SECURITY_STATUS WINAPI NCryptFreeBuffer(PVOID buf)
+{
+    FIXME("(%p): stub\n", buf);
+    return NTE_NOT_SUPPORTED;
+}
+
 SECURITY_STATUS WINAPI NCryptFreeObject(NCRYPT_HANDLE object)
 {
     FIXME("(0x%lx): stub\n", object);
diff --git a/dlls/ncrypt/ncrypt.spec b/dlls/ncrypt/ncrypt.spec
index d4482d5b40..1c06935bed 100644
--- a/dlls/ncrypt/ncrypt.spec
+++ b/dlls/ncrypt/ncrypt.spec
@@ -72,7 +72,7 @@
 @ stub NCryptEnumStorageProviders
 @ stub NCryptExportKey
 @ stdcall NCryptFinalizeKey(long long)
-@ stub NCryptFreeBuffer
+@ stdcall NCryptFreeBuffer(ptr)
 @ stdcall NCryptFreeObject(long)
 @ stub NCryptGetProperty
 @ stub NCryptGetProtectionDescriptorInfo




More information about the wine-cvs mailing list