Michael Müller : sfc_os: Set an error code in SfcGetNextProtectedFile stub.
Module: wine Branch: stable Commit: b2e374137b376e90b527eaa465f6625c1b305e6e URL: https://source.winehq.org/git/wine.git/?a=commit;h=b2e374137b376e90b527eaa46... Author: Michael Müller <michael(a)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(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> (cherry picked from commit 7dd74d5b5084f352b46c0e52e421bf28f34cade1) Signed-off-by: Michael Stefaniuc <mstefani(a)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; }
participants (1)
-
Alexandre Julliard