=?UTF-8?Q?Michael=20M=C3=BCller=20?=: sfc_os: Set an error code in SfcGetNextProtectedFile stub.

Alexandre Julliard julliard at winehq.org
Mon Mar 5 16:14:32 CST 2018


Module: wine
Branch: master
Commit: 7dd74d5b5084f352b46c0e52e421bf28f34cade1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7dd74d5b5084f352b46c0e52e421bf28f34cade1

Author: Michael Müller <michael at fds-team.de>
Date:   Sun Mar  4 10:51:25 2018 -0600

sfc_os: Set an error code in SfcGetNextProtectedFile stub.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/sfc_os/sfc_os.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/sfc_os/sfc_os.c b/dlls/sfc_os/sfc_os.c
index f4515f2..6193dda 100644
--- a/dlls/sfc_os/sfc_os.c
+++ b/dlls/sfc_os/sfc_os.c
@@ -55,6 +55,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 BOOL WINAPI SfcGetNextProtectedFile(HANDLE handle, PROTECTED_FILE_DATA *data)
 {
     FIXME("%p %p\n", handle, data);
+
+    SetLastError(ERROR_NO_MORE_FILES);
     return FALSE;
 }
 




More information about the wine-cvs mailing list