From c715127536a78166e58b165c390a57b704899d29 Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 27 Oct 2015 00:12:04 -0500 Subject: [PATCH] sfc: Add SfcGetNextProtectedFile stub. Signed-off-by: Austin English Signed-off-by: Alexandre Julliard --- 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 04307d2da57..bdd66db3686 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 580534236b0..9df38f806f6 100644 --- a/dlls/sfc_os/sfc_os.c +++ b/dlls/sfc_os/sfc_os.c @@ -48,6 +48,15 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) return TRUE; } +/****************************************************************** + * SfcGetNextProtectedFile [sfc_os.@] + */ +BOOL WINAPI SfcGetNextProtectedFile(HANDLE handle, PROTECTED_FILE_DATA *data) +{ + FIXME("%p %p\n", handle, data); + return FALSE; +} + /****************************************************************** * SfcIsFileProtected [sfc_os.@] * diff --git a/dlls/sfc_os/sfc_os.spec b/dlls/sfc_os/sfc_os.spec index 1edcb8353bd..6b216e055d6 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)