- 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.

svn path=/trunk/; revision=29926
This commit is contained in:
Timo Kreuzer 2007-10-27 23:37:08 +00:00
parent 1b5d11010e
commit 3c9062ca96
3 changed files with 20 additions and 1 deletions

View file

@ -779,3 +779,14 @@ BOOL STDCALL DdeGetQualityOfService(HWND hWnd, DWORD Reserved, PSECURITY_QUALITY
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/
DWORD STDCALL User32InitializeImmEntryTable(PVOID p)
{
UNIMPLEMENTED;
return 0;
}

View file

@ -709,7 +709,7 @@ UnregisterUserApiHook@0
UpdateLayeredWindow@36
UpdatePerUserSystemParameters@8
UpdateWindow@4
;User32InitializeImmEntryTable
User32InitializeImmEntryTable
UserClientDllInitialize=DllMain@12
UserHandleGrantAccess@12
;UserLpkPSMTextOut

View file

@ -34,6 +34,14 @@
/* 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
*/