advapi32: add stub for ReadEncryptedFileRaw (2/4)

Austin English austinenglish at gmail.com
Fri Aug 29 18:22:41 CDT 2014


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

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

diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index 57d2c65..e61e983 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -566,7 +566,7 @@
 @ stdcall QueryTraceW(int64 wstr ptr)
 # @ stub QueryUsersOnEncryptedFile
 @ stdcall QueryWindows31FilesMigration(long)
-# @ stub ReadEncryptedFileRaw
+@ stdcall ReadEncryptedFileRaw(ptr ptr ptr)
 @ stdcall ReadEventLogA (long long long ptr long ptr ptr)
 @ stdcall ReadEventLogW (long long long ptr long ptr ptr)
 @ stdcall RegCloseKey(long)
diff --git a/dlls/advapi32/crypt.c b/dlls/advapi32/crypt.c
index b41965d..f369ae3 100644
--- a/dlls/advapi32/crypt.c
+++ b/dlls/advapi32/crypt.c
@@ -2290,6 +2290,25 @@ DWORD WINAPI OpenEncryptedFileRawW(LPCWSTR filename, ULONG flags, PVOID *context
 }
 
 /******************************************************************************
+ * ReadEncryptedFileRaw   (ADVAPI32.@)
+ *
+ * Export encrypted files
+ *
+ * PARAMS
+ *  export   [I] pointer to the export callback function
+ *  callback     [I] pointer to the application defined context
+ *  context    [I] pointer to the system context
+ * RETURNS
+ *  Success: ERROR_SUCCESS
+ *  Failure: NTSTATUS error code
+ */
+DWORD WINAPI ReadEncryptedFileRaw(PFE_EXPORT_FUNC export, PVOID callback, PVOID context)
+{
+    FIXME("(%p, %p, %p): stub\n", export, callback, context);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+/******************************************************************************
  * SystemFunction030   (ADVAPI32.@)
  *
  * Tests if two blocks of 16 bytes are equal
-- 
2.0.4



More information about the wine-patches mailing list