Author: ion
Date: Thu Aug 29 00:07:00 2013
New Revision: 59865
URL:
http://svn.reactos.org/svn/reactos?rev=59865&view=rev
Log:
[KERNEL32]: Implement BaseProcessInitPostImport. Windows NTDLL now loads much, much
further, all the way to lsass.exe now.
Modified:
trunk/reactos/dll/win32/kernel32/client/loader.c
Modified: trunk/reactos/dll/win32/kernel32/client/loader.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/loader.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/loader.c [iso-8859-1] Thu Aug 29 00:07:00
2013
@@ -12,6 +12,14 @@
#include <debug.h>
/* FUNCTIONS ****************************************************************/
+
+NTSTATUS
+WINAPI
+BasepInitializeTermsrvFpns(VOID)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
DWORD
WINAPI
@@ -1125,12 +1133,20 @@
}
/*
- * @unimplemented
+ * @implemented
*/
NTSTATUS
WINAPI
BaseProcessInitPostImport(VOID)
{
+ /* Check if this is a terminal server */
+ DPRINT1("Post-init called\n");
+ if (SharedUserData->SuiteMask & VER_SUITE_TERMINAL)
+ {
+ /* Initialize TS pointers */
+ return BasepInitializeTermsrvFpns();
+ }
+
/* FIXME: Initialize TS pointers */
return STATUS_SUCCESS;
}