=?UTF-8?Q?Michael=20M=C3=BCller=20?=: sfc_os: Set an error code in SfcGetNextProtectedFile stub.
Alexandre Julliard
julliard at winehq.org
Mon May 14 06:54:25 CDT 2018
Module: wine
Branch: stable
Commit: b2e374137b376e90b527eaa465f6625c1b305e6e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b2e374137b376e90b527eaa465f6625c1b305e6e
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>
(cherry picked from commit 7dd74d5b5084f352b46c0e52e421bf28f34cade1)
Signed-off-by: Michael Stefaniuc <mstefani 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