From 965e17dbc4d472e157471599edfb520c6364f8f1 Mon Sep 17 00:00:00 2001 From: Oleg Dubinskiy Date: Fri, 29 Nov 2019 15:51:04 +0200 Subject: [PATCH] [WINSTA] Export WinStationRedirectErrorMessage (#2072) Add export for WinStationRedirectErrorMessage() function in Winsta. We already have a stub for this function in dll/win32/winsta/logon.c, but for some reason it is not exported. Required by MS Winlogon with Win32SS and some other needed dlls replaced. Now it fails due to missing WinStationCanLogonProceed, for which we currently haven't a stub. This function has been introduced with Win2k3 SP1 (and exists in SP2 as well), see http://blog.airesoft.co.uk/apichanges/changes-Server2003%20SP0-To-Server2003%20SP1.xml#winsta.dll JIRA issue: CORE-16458 --- dll/win32/winsta/winsta.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/dll/win32/winsta/winsta.spec b/dll/win32/winsta/winsta.spec index b41c693b980..df10cfee4b9 100644 --- a/dll/win32/winsta/winsta.spec +++ b/dll/win32/winsta/winsta.spec @@ -69,6 +69,7 @@ @ stdcall WinStationQueryLicense(ptr ptr ptr) @ stdcall WinStationQueryLogonCredentialsW(ptr) @ stdcall WinStationQueryUpdateRequired(ptr ptr) +@ stdcall WinStationRedirectErrorMessage(ptr ptr) @ stdcall WinStationRegisterConsoleNotification(ptr ptr ptr) @ stdcall WinStationRegisterConsoleNotificationEx(ptr ptr ptr ptr) @ stdcall WinStationRegisterNotificationEvent(ptr ptr ptr ptr) -- 2.17.1