[PATCH] sfc_os: Set an error code in SfcGetNextProtectedFile stub.
Zebediah Figura
z.figura12 at gmail.com
Sun Mar 4 10:51:25 CST 2018
From: Michael Müller <michael at fds-team.de>
Fixes https://bugs.winehq.org/show_bug.cgi?id=44654
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
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;
}
--
2.7.4
More information about the wine-devel
mailing list