From: Patrick Hibbs Subject: [PATCH 3/6] wtsapi32: Keep WTSRegisterSessionNotification() consistant. Message-Id: <20190713230002.20340-3-hibbsncc1701@yahoo.com> Date: Sat, 13 Jul 2019 18:59:59 -0400 In-Reply-To: <20190713230002.20340-1-hibbsncc1701@yahoo.com> References: <20190713230002.20340-1-hibbsncc1701@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 --- 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