[PATCH v2 resend 3/6] wtsapi32: Keep WTSRegisterSessionNotification() consistant.
Patrick Hibbs
hibbsncc1701 at gmail.com
Sat Jul 13 20:13:22 CDT 2019
From: Patrick Hibbs <hibbsncc1701 at yahoo.com>
Forward the calls from WTSRegisterSessionNotification() to
WTSRegisterSessionNotificationEx().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47433
Signed-off-by: Patrick Hibbs <hibbsncc1701 at yahoo.com>
---
dlls/wtsapi32/wtsapi32.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/wtsapi32/wtsapi32.c b/dlls/wtsapi32/wtsapi32.c
index 8ece1d2b37..dccd5ec1a1 100644
--- a/dlls/wtsapi32/wtsapi32.c
+++ b/dlls/wtsapi32/wtsapi32.c
@@ -307,8 +307,9 @@ BOOL WINAPI WTSQueryUserConfigW(LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG
*/
BOOL WINAPI WTSRegisterSessionNotification(HWND hWnd, DWORD dwFlags)
{
- FIXME("Stub %p 0x%08x\n", hWnd, dwFlags);
- return TRUE;
+ /* Forward to WTSRegisterSessionNotificationEx.
+ */
+ return WTSRegisterSessionNotificationEx(WTS_CURRENT_SERVER_HANDLE, hWnd, dwFlags);
}
/************************************************************
--
2.22.0
More information about the wine-devel
mailing list