advapi32: add stub for CloseEncryptedFileRaw (4/4)

Austin English austinenglish at gmail.com
Fri Aug 29 18:23:57 CDT 2014


-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140829/93d1d30d/attachment.html>
-------------- next part --------------
From 9dd87f12b2ee59a78f5c037d85aea1d9d38f72fe Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Fri, 29 Aug 2014 18:18:59 -0500
Subject: [PATCH 4/4] advapi32: add stub for CloseEncryptedFileRaw

---
 dlls/advapi32/advapi32.spec |  2 +-
 dlls/advapi32/crypt.c       | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index d1ab64d..f1cae1f 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -84,7 +84,7 @@
 @ stdcall ClearEventLogA (long str)
 @ stdcall ClearEventLogW (long wstr)
 # @ stub CloseCodeAuthzLevel
-# @ stub CloseEncryptedFileRaw
+@ stdcall CloseEncryptedFileRaw(ptr)
 @ stdcall CloseEventLog (long)
 @ stdcall CloseServiceHandle(long)
 # @ stub CloseThreadWaitChainSession
diff --git a/dlls/advapi32/crypt.c b/dlls/advapi32/crypt.c
index f74dee4..b2be5e3 100644
--- a/dlls/advapi32/crypt.c
+++ b/dlls/advapi32/crypt.c
@@ -319,6 +319,23 @@ static void CRYPT_CreateMachineGuid(void)
 	}
 }
 
+
+/******************************************************************************
+ * CloseEncryptedFileRaw   (ADVAPI32.@)
+ *
+ * Close encrypted files
+ *
+ * PARAMS
+ *  context    [I] pointer to the context
+ * RETURNS
+ *  Success: ERROR_SUCCESS
+ *  Failure: NTSTATUS error code
+ */
+void WINAPI CloseEncryptedFileRaw(PVOID context)
+{
+    FIXME("(%p): stub\n", context);
+}
+
 /******************************************************************************
  * CryptAcquireContextW (ADVAPI32.@)
  *
-- 
2.0.4



More information about the wine-patches mailing list