Author: tkreuzer
Date: Sun Oct 28 02:37:08 2007
New Revision: 29926
URL:
http://svn.reactos.org/svn/reactos?rev=29926&view=rev
Log:
user32:
- implement User32InitializeImmEntryTable() stub
- implement _assert() to remove reference to msvcrt.dll
todo: remove references to advapi32 and imm32. user32 should only link to ntdll, kernel32
and gdi32.
The goal is to make it at least load on windows.
Modified:
trunk/reactos/dll/win32/user32/misc/stubs.c
trunk/reactos/dll/win32/user32/user32.def
trunk/reactos/dll/win32/user32/windows/font.c
Modified: trunk/reactos/dll/win32/user32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/stub…
==============================================================================
--- trunk/reactos/dll/win32/user32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/user32/misc/stubs.c Sun Oct 28 02:37:08 2007
@@ -779,3 +779,14 @@
UNIMPLEMENTED;
return FALSE;
}
+
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL User32InitializeImmEntryTable(PVOID p)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
Modified: trunk/reactos/dll/win32/user32/user32.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/user32.de…
==============================================================================
--- trunk/reactos/dll/win32/user32/user32.def (original)
+++ trunk/reactos/dll/win32/user32/user32.def Sun Oct 28 02:37:08 2007
@@ -709,7 +709,7 @@
UpdateLayeredWindow@36
UpdatePerUserSystemParameters@8
UpdateWindow@4
-;User32InitializeImmEntryTable
+User32InitializeImmEntryTable
UserClientDllInitialize=DllMain@12
UserHandleGrantAccess@12
;UserLpkPSMTextOut
Modified: trunk/reactos/dll/win32/user32/windows/font.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/f…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/font.c (original)
+++ trunk/reactos/dll/win32/user32/windows/font.c Sun Oct 28 02:37:08 2007
@@ -33,6 +33,14 @@
#include <wine/debug.h>
/* FUNCTIONS *****************************************************************/
+
+void _assert(const char *msg, const char *file, int line)
+{
+ /* Assertion failed at foo.c line 45: x<y */
+ DbgPrint("Assertion failed at %s line %d: %s\n", file, line, msg);
+ ExitProcess(3);
+ for(;;); /* eliminate warning by mingw */
+}
/*
* @implemented