Author: jimtabor
Date: Sat Nov 1 17:12:38 2008
New Revision: 37140
URL:
http://svn.reactos.org/svn/reactos?rev=37140&view=rev
Log:
- Update from notes: NtUserInitialize.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] Sat Nov 1
17:12:38 2008
@@ -805,6 +805,9 @@
return 0;
}
+/*
+ Called from win32csr.
+ */
NTSTATUS
NTAPI
NtUserInitialize(
@@ -812,7 +815,31 @@
HANDLE hPowerRequestEvent,
HANDLE hMediaRequestEvent)
{
- UNIMPLEMENTED;
+ UserEnterExclusive();
+ UNIMPLEMENTED;
+// Check to see we have the right version.
+// Initialize Power Request List.
+// Initialize Media Change.
+// Initialize CSRSS
+// {
+// Startup DxGraphics.
+// calls ** IntGdiGetLanguageID() and sets it **.
+// Enables Fonts drivers, Initialize Font table & Stock Fonts.
+// }
+// Set W32PF_Flags |= (W32PF_READSCREENACCESSGRANTED | W32PF_IOWINSTA)
+// Create Object Directory,,, Looks like create workstation.
"\\Windows\\WindowStations"
+// Create Event for Diconnect Desktop.
+// Initialize Video.
+// {
+// DrvInitConsole.
+// DrvChangeDisplaySettings.
+// Update Shared Device Caps.
+// Initialize User Screen.
+// }
+// Create ThreadInfo for this Thread!
+// Set Global SERVERINFO Error flags.
+// Load Resources.
+ UserLeave();
return STATUS_SUCCESS;
}