Austin English : sfc: Add SfcGetNextProtectedFile stub.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 3 09:21:43 CST 2015


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

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Oct 27 00:12:04 2015 -0500

sfc: Add SfcGetNextProtectedFile stub.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/sfc/sfc.spec       | 2 +-
 dlls/sfc_os/sfc_os.c    | 9 +++++++++
 dlls/sfc_os/sfc_os.spec | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dlls/sfc/sfc.spec b/dlls/sfc/sfc.spec
index 04307d2..bdd66db 100644
--- a/dlls/sfc/sfc.spec
+++ b/dlls/sfc/sfc.spec
@@ -7,7 +7,7 @@
 7 stub @
 8 stub @
 9 stub @
-@ stub SfcGetNextProtectedFile
+@ stdcall SfcGetNextProtectedFile(long ptr) sfc_os.SfcGetNextProtectedFile
 @ stdcall SfcIsFileProtected(ptr wstr) sfc_os.SfcIsFileProtected
 @ stdcall SfcIsKeyProtected(long wstr long) sfc_os.SfcIsKeyProtected
 @ stub SfcWLEventLogoff
diff --git a/dlls/sfc_os/sfc_os.c b/dlls/sfc_os/sfc_os.c
index 5805342..9df38f8 100644
--- a/dlls/sfc_os/sfc_os.c
+++ b/dlls/sfc_os/sfc_os.c
@@ -49,6 +49,15 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 }
 
 /******************************************************************
+ *      SfcGetNextProtectedFile     [sfc_os.@]
+ */
+BOOL WINAPI SfcGetNextProtectedFile(HANDLE handle, PROTECTED_FILE_DATA *data)
+{
+    FIXME("%p %p\n", handle, data);
+    return FALSE;
+}
+
+/******************************************************************
  *              SfcIsFileProtected     [sfc_os.@]
  *
  * Check, if the given File is protected by the System
diff --git a/dlls/sfc_os/sfc_os.spec b/dlls/sfc_os/sfc_os.spec
index 1edcb83..6b216e0 100644
--- a/dlls/sfc_os/sfc_os.spec
+++ b/dlls/sfc_os/sfc_os.spec
@@ -1,3 +1,3 @@
-@ stub SfcGetNextProtectedFile
+@ stdcall SfcGetNextProtectedFile(long ptr)
 @ stdcall SfcIsFileProtected(ptr wstr)
 @ stdcall SfcIsKeyProtected(long wstr long)




More information about the wine-cvs mailing list