https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2d8b224d71c162ec95e4e…
commit 2d8b224d71c162ec95e4e5215322d480cefd3618
Author: Oleg Dubinskiy <oleg.dubinskij2013(a)yandex.ua>
AuthorDate: Thu Apr 16 01:50:22 2020 +0300
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Apr 16 01:50:22 2020 +0300
[WINSTA] Add some missing stubs (#2307)
Add stubs for WinStationCanLogonProceed() and _WinStationOpenSessionDirectory()
functions to make winlogon from Windows Server 2003 happy.
CORE-15392 CORE-16458
---
dll/win32/winsta/logon.c | 15 +++++++++++++++
dll/win32/winsta/winsta.spec | 2 ++
2 files changed, 17 insertions(+)
diff --git a/dll/win32/winsta/logon.c b/dll/win32/winsta/logon.c
index 1ea47b78328..3462aafac2f 100644
--- a/dll/win32/winsta/logon.c
+++ b/dll/win32/winsta/logon.c
@@ -111,3 +111,18 @@ WINSTAAPI _WinStationNotifyLogon(PVOID A,
{
UNIMPLEMENTED;
}
+
+VOID
+WINSTAAPI WinStationCanLogonProceed(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationOpenSessionDirectory(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
diff --git a/dll/win32/winsta/winsta.spec b/dll/win32/winsta/winsta.spec
index df10cfee4b9..4779f868bd4 100644
--- a/dll/win32/winsta/winsta.spec
+++ b/dll/win32/winsta/winsta.spec
@@ -21,6 +21,7 @@
@ stdcall WinStationActivateLicense(ptr ptr ptr ptr)
@ stdcall WinStationAutoReconnect(ptr)
@ stdcall WinStationBroadcastSystemMessage(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr)
+@ stdcall WinStationCanLogonProceed(ptr ptr ptr)
@ stdcall WinStationCheckAccess(ptr ptr ptr)
@ stdcall WinStationCheckLoopBack(ptr ptr ptr ptr)
@ stdcall WinStationCloseServer(ptr ptr ptr ptr)
@@ -111,6 +112,7 @@
@ stdcall _WinStationNotifyLogoff()
@ stdcall _WinStationNotifyLogon(ptr ptr ptr ptr ptr ptr ptr ptr)
@ stdcall _WinStationNotifyNewSession(ptr ptr)
+@ stdcall _WinStationOpenSessionDirectory(ptr ptr)
@ stdcall _WinStationReInitializeSecurity(ptr)
@ stdcall _WinStationReadRegistry(ptr)
@ stdcall _WinStationSessionInitialized()