[PATCH] wtsapi32: Make WTSRegisterSessionNotificationEx's return consistant with WTSRegisterSessionNotification.
Patrick Hibbs
hibbsncc1701 at gmail.com
Sat Dec 7 02:06:14 CST 2019
No point in these returning different values, considering one is a superset of the other.
Fix as per Zebediah Figura's bug comment (#12).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47433
Signed-off-by: Patrick Hibbs <hibbsncc1701 at gmail.com>
---
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;
}
--
2.24.0
More information about the wine-devel
mailing list