Louis Lenders : kernel32: Return S_OK in RegisterApplicationRecoveryCallback stub.

Alexandre Julliard julliard at winehq.org
Mon Apr 20 15:01:53 CDT 2020


Module: wine
Branch: oldstable
Commit: 861d7d51de826c6cc8eef1e4f9c681030c958a5a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=861d7d51de826c6cc8eef1e4f9c681030c958a5a

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Mon Dec  9 17:32:54 2019 +0100

kernel32: Return S_OK in RegisterApplicationRecoveryCallback stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43817
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 626162f7db979360d231698ab1288cda97940bb9)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/kernel32/process.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 709313ceca..6636945d0c 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -4412,9 +4412,8 @@ HRESULT WINAPI ApplicationRecoveryInProgress(PBOOL canceled)
  */
 HRESULT WINAPI RegisterApplicationRecoveryCallback(APPLICATION_RECOVERY_CALLBACK callback, PVOID param, DWORD pingint, DWORD flags)
 {
-    FIXME("%p, %p, %d, %d: stub\n", callback, param, pingint, flags);
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return E_FAIL;
+    FIXME("%p, %p, %d, %d: stub, faking success\n", callback, param, pingint, flags);
+    return S_OK;
 }
 
 /***********************************************************************




More information about the wine-cvs mailing list