Austin English : advapi32: Add stub for ReadEncryptedFileRaw.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 2 14:30:38 CDT 2014


Module: wine
Branch: master
Commit: 8ca36632e98c1e96c2df5189973ccc93d97bc280
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8ca36632e98c1e96c2df5189973ccc93d97bc280

Author: Austin English <austinenglish at gmail.com>
Date:   Fri Aug 29 18:12:59 2014 -0500

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




More information about the wine-cvs mailing list