Patrick Hibbs : wtsapi32: Make WTSRegisterSessionNotificationEx's return consistent with WTSRegisterSessionNotification.

Alexandre Julliard julliard at winehq.org
Mon Dec 9 16:57:39 CST 2019


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

Author: Patrick Hibbs <hibbsncc1701 at gmail.com>
Date:   Sat Dec  7 03:06:14 2019 -0500

wtsapi32: Make WTSRegisterSessionNotificationEx's return consistent with WTSRegisterSessionNotification.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47433
Signed-off-by: Patrick Hibbs <hibbsncc1701 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wtsapi32/wtsapi32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wtsapi32/wtsapi32.c b/dlls/wtsapi32/wtsapi32.c
index c2b817a6ed..026e7f4369 100644
--- a/dlls/wtsapi32/wtsapi32.c
+++ b/dlls/wtsapi32/wtsapi32.c
@@ -385,7 +385,7 @@ BOOL WINAPI WTSRegisterSessionNotification(HWND hWnd, DWORD dwFlags)
 BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE hServer, HWND hWnd, DWORD dwFlags)
 {
     FIXME("Stub %p %p 0x%08x\n", hServer, hWnd, dwFlags);
-    return FALSE;
+    return TRUE;
 }
 
 




More information about the wine-cvs mailing list